I tried to configure a Gmail mailbox after enabling fetch mail in settings. Checked in the forums for a solution, but could not find it. The IMAP PHP plugin in the container seems to have SSL support.
Error: Can't open mailbox {tls://imap.gmail.com:993/imap/ssl/novalidate-cert}INBOX: invalid remote specification