Did some more irc improvements
Added a basic mail template system