Added Mandrill API functionality