Add button to send a test mail after changing the email settings

Fix #7175