The Email application from Samsung detects automatically the required settings for the account you want to attach to the phone. In case it fails, you will need to use the settings provided by the email service and configure the account manually and it will work. Also, it's easier to work with the accounts and Email app when the phone is online and connected to the Internet.