In settings you can choose whether to allow move mail between accounts and access mail from other apps. SSL certification and encryption can also be forced. Instead of citing the individual usernames and passwords for each devices you can leave the fields blank and the users will be prompted for these details when the profile is deployed to their device.
While configuring the calendar settings you need to specify the account name and URL. Username and password may be omitted to let the users enter manually during the installation of configuration profiles. Multiple accounts can be configured likewise. SSL encryption can also be enabled.