Implemented mailer settings. (Thx to @prokopsimek)(close #78)