last update to email stuff