Mediator

OK, finally implemented the mediator stuff. I can send mail directly using Gmail servers :D