add K2.3 legacy functions in email module