IMAP not working

Hi All,

I added follow config?

name: "HA IMAP Email"
platform: imap_email_content
server: SERVER.NAME
port: 587
username: !secret root_email_username
password: !secret root_email_password
senders:
  - [email protected]
  - [email protected]

I get this error:

2020-02-10 10:43:41 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up imap_email_content platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 159, in _async_setup_platform
    await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/imap_email_content/sensor.py", line 67, in setup_platform
    value_template,
  File "/usr/src/homeassistant/homeassistant/components/imap_email_content/sensor.py", line 150, in __init__
    self.connected = self._email_reader.connect()
  File "/usr/src/homeassistant/homeassistant/components/imap_email_content/sensor.py", line 93, in connect
    self.connection = imaplib.IMAP4_SSL(self._server, self._port)
  File "/usr/local/lib/python3.7/imaplib.py", line 1288, in __init__
    IMAP4.__init__(self, host, port)
  File "/usr/local/lib/python3.7/imaplib.py", line 198, in __init__
    self.open(host, port)
  File "/usr/local/lib/python3.7/imaplib.py", line 1301, in open
    IMAP4.open(self, host, port)
  File "/usr/local/lib/python3.7/imaplib.py", line 299, in open
    self.sock = self._create_socket()
  File "/usr/local/lib/python3.7/imaplib.py", line 1293, in _create_socket
    server_hostname=self.host)
  File "/usr/local/lib/python3.7/ssl.py", line 423, in wrap_socket
    session=session
  File "/usr/local/lib/python3.7/ssl.py", line 870, in _create
    self.do_handshake()
  File "/usr/local/lib/python3.7/ssl.py", line 1139, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1076)

How can I solve this?