fixes #59 Fixed ServiceNotFoundException produced when emails are sent from the command line