private static void AddAllRecipients(Email message, IEmail email)
 {
     foreach (var recipient in message.EmailRecipients.Where(r => r.Enabled))
     {
         if (recipient.IsPrimaryRecipient)
         {
             email.AddRecipient(recipient.Recipient);
         }
         if (recipient.IsCC)
         {
             email.AddCC(recipient.Recipient);
         }
         if (recipient.IsBCC)
         {
             email.AddBCC(recipient.Recipient);
         }
     }
 }