improved email log