Move Mailgun module into it's own file