slightly better email stuff