adding email functionality using mailgun