[1.6.x] Fixed #21614 -- improved docs on configuring email for development.

Backport of d599b590eb from master