reimplements the email notification that i disabled while testing