created doctypes, yet to add event handlers
added email alerts
added days in advance
fix test
fix test
fix test
fix test
fix test
fixes
Fixes in Email Alert system