Improve Mandrill error debugging

Write message contents to file rather than logging it for easier parsing