check for mandrill api key before trying to send email

Maybe don't bother merging this until after presentation since it's not critical but will make things easier for future developers.