Click on your settings icon
Go to Accounts and Passwords
Under Accounts click 'Add Account'
Choose 'Other' then 'Add Mail Account'
Enter your name email and password and click next.
Use the following details:
Account type: IMAP
Incoming mail server: imap.stackmail.com
Incoming Username: your full email address
Incoming password: your email password
Incoming server port (IMAP): 993
Use the following type of encrypted connection: SSL
Outgoing mail server: smtp.stackmail.com
Outgoing Username: your full email address (not optional)
Outgoing password: your email password (not optional)
Outgoing server port (SMTP): 465
Use the following type of encrypted connection: SSL
Select next to verify and add your account ticks should appear next to each box.
If a screen appears with Mail and Notes, make sure mail is ticked and click next to complete the process
If you have any security errors please see this article