Rewrote realtime mod mail

Now actually works and works better.
Chanced 'realtime mail' to autoload mail, loading is based on the how
many unread messages you have.