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

Fix #7175 
Depends on #7174 

@karlitschek @schiesbn @PVince81 @jancborchardt