add mandrill patch for API