fix mailer
Merge pull request #316 from Verkalets/dev

fix mailer