mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-05 10:38:58 +00:00
1.0 KiB
1.0 KiB
layout, title, description, date, sidebar, comments, sharing, footer, ha_category, ha_release, ha_iot_class
layout | title | description | date | sidebar | comments | sharing | footer | ha_category | ha_release | ha_iot_class |
---|---|---|---|---|---|---|---|---|---|---|
page | IMAP Unread E-mail | Instructions how to integrate IMAP unread email into Home Assistant. | 2016-07-11 06:00 | true | false | true | true | Sensor | 0.25 | Local Polling |
The imap
sensor platform is observing your IMAP server and reporting the amount of unread emails.
To enable this sensor, add the following lines to your configuration.yaml
file:
# Example configuration.yaml entry
sensor:
- platform: imap
server: imap.gmail.com
port: 993
name: Emails
username: USERNAME
password: PASSWORD
Configuration variables:
- server (Required): The IP address or hostname of the IMAP server.
- port (Required): The port where the server is accessible.
- name (Optional): Name of the IMAP sensor.
- username (Required): Username for the IMAP server.
- password (Required): Password for the IMAP server.