added mandrill api and email template