public EmailPayload AsEmailPayload()
        {
            var toList  = To.Select(item => item.To).ToList();
            var bccList = BCC.Select(item => item.To).ToList();
            var ccList  = CC.Select(item => item.To).ToList();

            return(new EmailPayload
            {
                FromEmailAddress = FromEmailAddress,
                To = toList,
                BCC = bccList,
                CC = ccList,
                Body = Body,
                Subject = Subject,
                Attachments = Attachments,
                Headers = Headers,
                ReplyToList = ReplyToList,
                LoginName = LoginName,
                Password = Password,
                UseSSL = UseSSL,
                IsBodyHtml = IsBodyHtml,
                AlternateViews = AlternateViews
            });
        }