added possibility to send log emails with mailgun