func EmailType() string {
	return email.Type
}
EmailType contains the type of email servicer to use (e.g. STMP vs memory-based solution)
package config
import "github.com/kelseyhightower/envconfig"
type EmailConfig struct {
	FromAddress  string `split_words:"true"`
	Type         string `split_words:"true"`
	Host         string `split_words:"true"`
	UserName     string `split_words:"true"`
	Password     string `split_words:"true"`
	Identity     string `split_words:"true"`
	Secret       string `split_words:"true"`
	SMTPAuthType string `split_words:"true"`
}
func loadEmailConfig() error {
	config := EmailConfig{}
	err := envconfig.Process("email", &config)
	email = config
	return err
}
func EmailFromAddress() string {
	return email.FromAddress
}