Mail-factory framework to fast build mail templates