update to generate-mail usage