mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-08 20:18:59 +00:00
1008 B
1008 B
layout, title, description, date, sidebar, comments, sharing, footer, ha_category, ha_release
layout | title | description | date | sidebar | comments | sharing | footer | ha_category | ha_release |
---|---|---|---|---|---|---|---|---|---|
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 |
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
user: 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.
- user (Required): Username for the IMAP server.
- password (Required): Password for the IMAP server.