emails logs at end of run