working on detail email