public EmailAutomation()
 {
     To     = new List <string>();
     CC     = new List <string>();
     BCC    = new List <string>();
     Config = new __EmailSetup();
 }
 public EmailAutomation(string from, string displayName, string subject, string body, bool isBodyHtml)
 {
     From        = from;
     To          = new List <string>();
     CC          = new List <string>();
     BCC         = new List <string>();
     DisplayName = displayName;
     Subject     = subject;
     Body        = body;
     IsBodyHtml  = isBodyHtml;
     Config      = new __EmailSetup();
 }