Added MailSo hooks