improved email output