fix wording, add parameter documentation
always send e-mail on failure