Added check for curl when trying to use Mandrill