Idea: Log out and err to file and attach to email