Amended production environment code for mailgun