fixing mail sending by mandrill.