send a mail when the engine crashes - closes #207