finished email notifications and testing