Step 1: Open the Mail app by clicking the Windows Start menu and choosing Mail. Then click “Get Started”
Step 2: Click “Add account”
Step 3: Click the Settings icon in the bottom left.
Step 4: On the right side of the mail window, the settings pane will open. Click on “Accounts” and then click “add Account” option.
Step 5: On the new account screen, choose Advanced Setup.
Step 6: Choose Internet email and enter the following settings
Account Name: Gmail Account
Your Name: The name that people will see when you send them an email from this account.
Incoming Mail Server: imap.gmail.com
Account Type: Choose IMAP
User Name: Gmail Account
Password: The password for the email account you are setting up.
Leave the check boxes for “Outgoing server requires authentication”, “Use the same user name and password for sending mail”, “Require SSL for incoming email”, “Require SSL for outgoing email” checked.
For IMAP use 993 – SSL enabled
Outgoing SMTP port – 465 SSL enabled
Step 7: Click the “Sign In” button.
Step 8: On the “Setup Successful” message click the “Done” button
Now your email account added to Windows 10 mail.