add email handling for latex