public IDictionary <string, string> Parse(EmailInfoBase emailInfo)
        {
            var ret = emailInfo.GetReadableProperties().SelectMany(p => GetParameters(p, emailInfo));

            ret = ret.Concat(new[]
            {
                new KeyValuePair <string, string>("ErrorditeUrl", _config.ErrorditeUrl),
            });

            return(ret.ToDictionary(x => x.Key, x => x.Value));
        }
 public string GetTemplate(EmailInfoBase emailInfo)
 {
     return(GetTemplate(_emailNamingMapper.InfoToTemplate(emailInfo.GetType())));
 }