Add send testing email while saving settings

Fix issue #112