Advanced techniques on sending emails over SMTP with local views and Mandrill's API with remote templates