Are you using a Email service somewhere or an email endpoint?
Yes we use email end point to recieve emails.
But the end point got deleted when I undeployed the application in workbench.
Somehow, there still seems to exist some references to it.
Search for your services in adminui and check if there's still an email endpoint for it.