Initial commit, hope it helps

Spent all afternoon banging my head with Mailgun support, who hadn't
seen UTL_SMTP attempts. I've offered to share this with them for future
clients but they haven't responded, so here it is anyway.