adds email alerts