add email function

when error happens, automatically send me an email lol