completed mailer functionality assigned at link https://app.asana.com/0/11169835259596/11879617411595