Mail Changes

I added support for mail ports etc.
Check config.js for more intel.