Added Mailgun functionality for emails