send a mail when the engine crashes - closes #207

maybe you could use some sentinel so you don't have to branch it all the time