Smtp settings

This merge closes #50