Factor Out sendmail (Abstraction for Email provider)