Fighting with email and background processes