modify account functions to use Mandrill API for mail sends