Hide SMTP options based on selected send mode

Fix #7166