Fix variable name typo
Implement email notifications