Add ability to send email via Mandrill instead of PHP's mail() function
Closes #1737