Adding the mail exception class. This closes #19