Fix alerts checking
Implement notification mailer