Pulled out piggybak email from application for exception handling.