Fixed a bug in the email 'mail' service error handling.
Merge pull request #14 from mzur/master

Fixed a bug in the email 'mail' service error handling.