/// <summary>
        /// Adds publish metadata to the email body
        /// </summary>
        /// <param name="records">Publish metadata</param>
        public void Add(IEnumerable <PublishMetadataEntity> records)
        {
            // initialize string
            if (this.HtmlBody == null)
            {
                this.HtmlBody = string.Empty;
            }

            this.HtmlBody += ConvertToHtml.Convert(records);
        }
        /// <summary>
        /// Adds an exception to the email body
        /// </summary>
        /// <param name="e">Exception</param>
        public void Add(Exception e)
        {
            // initialize string
            if (this.HtmlBody == null)
            {
                this.HtmlBody = string.Empty;
            }

            this.HtmlBody += ConvertToHtml.Convert(e);
        }