SSL wrong version number when trying to use Email Inboxes

Description

I’m getting this error - ssl3_get_record, reason:wrong version number - when I try to use Email Inboxes.

{"level":50,"time":"2023-11-16T12:02:12.211Z","pid":1,"hostname":"132955640abb","name":"EmailInbox","msg":"Error sending Email reply","err":{"type":"Error","message":"140172669859712:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:<br>","stack":"Error: 140172669859712:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:<br>","library":"SSL routines","function":"ssl3_get_record","reason":"wrong version number","code":"ESOCKET","command":"CONN"}} 

My email is at AWS WorkMail and I found this in their docs (Setting up email clients for Amazon WorkMail - Amazon WorkMail):

Amazon WorkMail discontinued support for Transport Layer Security (TLS) 1.0 and 1.1. If you are using TLS 1.0 or 1.1, you must upgrade the TLS version to 1.2.

Is this something I can fix, or will RocketChat simply not work with AWS?

Server Setup Information

  • Version of Rocket.Chat Server: 6.4.5
  • Operating System: Docker
  • Deployment Method: Docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:
  • Proxy:
  • Firewalls involved: