Big changes

Significant changes to how mail model works to make it more friendly
with multiple requests on seperate thread.