Mail setting, Commented code