Feature/598 e mail add support for sending via sendmail

#598 cc/ @dancryer @tvbeek