Fix formatting bug in config.xml
Add tests for email notifications