// Init sets up the email package
Init sets up the email package
// Init sets up the email package
func Init() {
	emailConfig := config.GetCurrent().Email
	if !emailConfig.Enabled {
		return
	}
	htmlFuncs = htmlTpl.FuncMap{
		"fname": templateGetFirstName,
	}
	textFuncs = textTpl.FuncMap{
		"fname": templateGetFirstName,
	}
}
func Init ( ) { emailConfig := config . GetCurrent ( ) . Email if ! emailConfig . Enabled { return } htmlFuncs = htmlTpl . FuncMap { " " : templateGetFirstName , } textFuncs = textTpl . FuncMap { " " : templateGetFirstName , } }
Init sets up the email package
Init sets up the email package
// kthxbye