New structure of main model,view,control, make email templates for adaptable for outlook and gmail both