public static EmailContent LandlordNewPropertySubmission(LandlordSummary summary)
 {
     return new EmailContent
     {
         ApplicationReference = summary.LandlordReference,
         TenantEmailAddress = summary.Email,
         TenantTelephoneNumber = summary.Mobile,
         TenantFirstName = string.IsNullOrEmpty(summary.KnownAs) ? summary.GivenName : summary.KnownAs
     };
 }
        public static SubscriberRecord BuildLandlordSubscriberRecord(LandlordSummary summary, Campaign campaign)
        {
            var subscriberRecord = new SubscriberRecord
            {
                ApplicationReference = summary.LandlordReference,
                CustomerReference = null,
                SubscriberEmail = summary.Email,
                SubscriberTelephoneNumber = summary.Mobile,
                SegmentType = campaign.SegmentType,
                EventType = campaign.Type
            };

            return subscriberRecord;
        }