Go to Menu -> Settings ->configurations -> E-mail Server Settings
You can check the image as shown below:
Host Name: " smtp.sendgrid.net " is you host name
Port Number: 587 is your default port
User name: api key is your user name
Password: Api keys which is generated will be applied in "Password"
You can click on the link for a video tutorial:
ο»Ώ