If you have IMAP based email servers, then we would need SSL ports 993 for IMAP and 465 or 587 for SMTP.
You can narrow the range of IP ports to whitelist down to the ‘us-west’ IP block for AWS. Here is a resource where that IP range can be retrieved: http://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html
NYLAS US-WEST BLOCK IP RANGES TO WHITELIST:
52.95.255.112/28, 54.241.0.0/16, 184.169.128.0/17, 54.193.0.0/16, 52.94.249.64/28, 52.94.116.0/22, 52.40.0.0/14, 54.214.0.0/16, 54.244.0.0/16, 52.94.248.96/28, 52.32.0.0/14, 54.151.0.0/17, 52.95.255.96/28, 18.144.0.0/15, 52.10.0.0/15, 54.200.0.0/15, 35.160.0.0/13, 204.236.128.0/18, 35.155.0.0/16, 18.236.0.0/15, 52.94.249.80/28, 184.72.0.0/18, 52.95.246.0/24, 52.46.180.0/22, 54.68.0.0/14, 54.67.0.0/16, 54.184.0.0/13, 54.219.0.0/16, 52.12.0.0/15, 52.94.248.128/28, 52.88.0.0/15, 100.20.0.0/14, 18.246.0.0/16, 216.182.236.0/23, 34.208.0.0/12, 54.212.0.0/15, 52.52.0.0/15, 54.148.0.0/15, 52.36.0.0/14, 54.202.0.0/15, 50.18.0.0/16, 52.75.0.0/16, 13.56.0.0/16, 54.215.0.0/16, 52.9.0.0/16, 13.52.0.0/16, 54.153.0.0/17, 52.24.0.0/14, 54.218.0.0/16, 54.183.0.0/16, 54.176.0.0/15, 52.8.0.0/16, 52.95.247.0/24, 54.245.0.0/16, 50.112.0.0/16, 13.57.0.0/16
Please also whitelist our IP address is: 52.56.163.227 and timetoreply.com and portal.timetoreply.com as domains.