update sendmail example in the docs