Improve mailing system

Add an abstract mailer, and subclass for GMail and for local smtp servers.
Use gmail or local mailer