Creating API key
- Navigate to Settings on the left navigation bar, and then select API Keys.
- Click Create API Key.
- Give your API key a name.
4.Select Full Access, Restricted Access, or Billing Access.
5.If you're selecting Restricted Access, or Billing Access, select the specific permissions to give each category. For more information, see API key permissions.
6.Click Create & View.
7.Copy your API key somewhere safe. For security reasons, do not put it directly in your code, or commit it somewhere public like GitHub
Video tutorial for E-mail server settings: