{ "config": { "step": { "user": { "data": { "username": "[%key:common::config_flow::data::username%]", "password": "[%key:common::config_flow::data::password%]", "server": "Server", "port": "[%key:common::config_flow::data::port%]", "charset": "Character set", "folder": "Folder", "search": "IMAP search", "event_message_data": "Message data to be included in the `imap_content` event data:", "ssl_cipher_list": "SSL cipher list (Advanced)", "verify_ssl": "[%key:common::config_flow::data::verify_ssl%]" }, "data_description": { "username": "The IMAP username.", "password": "The IMAP password", "server": "The IMAP server.", "port": "The IMAP port supporting SSL, usually this is 993.", "charset": "The character set used. Common values are `utf-8` or `US-ASCII`.", "folder": "In generally the folder is set to `INBOX`, but e.g. in case of a sub folder, named `Test`, this should be `INBOX.Test`.", "search": "The IMAP search command which is `UnSeen UnDeleted` by default.", "event_message_data": "Note that the event size is limited, and not all message text might be sent with the event if the message is too large.", "ssl_cipher_list": "If the IMAP service only supports legacy encryption, try to change this.", "verify_ssl": "Recommended, to ensure the server certificate is valid. Turn off, if the server certificate is not trusted (e.g. self signed)." } }, "reauth_confirm": { "description": "The password for {username} is invalid.", "title": "[%key:common::config_flow::title::reauth%]", "data": { "password": "[%key:common::config_flow::data::password%]" }, "data_description": { "password": "Correct the IMAP password." } } }, "error": { "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]", "invalid_auth": "[%key:common::config_flow::error::invalid_auth%]", "invalid_charset": "The specified charset is not supported", "invalid_folder": "The selected folder is invalid", "invalid_search": "The selected search is invalid", "ssl_error": "An SSL error occurred. Change SSL cipher list and try again." }, "abort": { "already_configured": "[%key:common::config_flow::abort::already_configured_device%]", "reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]" } }, "entity": { "sensor": { "imap_mail_count": { "name": "Messages", "unit_of_measurement": "messages" } } }, "exceptions": { "copy_failed": { "message": "Copying the message failed with \"{error}\"." }, "delete_failed": { "message": "Marking the message for deletion failed with \"{error}\"." }, "expunge_failed": { "message": "Expunging the message failed with \"{error}\"." }, "fetch_failed": { "message": "Fetching the message text failed with \"{error}\"." }, "invalid_entry": { "message": "No valid IMAP entry was found." }, "invalid_auth": { "message": "[%key:common::config_flow::error::invalid_auth%]" }, "invalid_folder": { "message": "[%key:component::imap::config::error::invalid_folder%]" }, "imap_server_fail": { "message": "The IMAP server failed to connect: {error}." }, "seen_failed": { "message": "Marking message as seen failed with \"{error}\"." } }, "options": { "step": { "init": { "data": { "folder": "[%key:component::imap::config::step::user::data::folder%]", "search": "[%key:component::imap::config::step::user::data::search%]", "custom_event_data_template": "Template to create custom event data", "max_message_size": "Max message size (2048 < size < 30000)", "enable_push": "Enable Push-IMAP if the server supports it. Turn off if Push-IMAP updates are unreliable.", "event_message_data": "Message data to be included in the `imap_content` event data." }, "data_description": { "folder": "[%key:component::imap::config::step::user::data_description::folder%]", "search": "[%key:component::imap::config::step::user::data_description::search%]", "event_message_data": "[%key:component::imap::config::step::user::data_description::event_message_data%]", "custom_event_data_template": "This template is evaluated when a new message was received, and the result is added to the `custom` attribute of the event data.", "max_message_size": "Limit the maximum size of the event. Instead of passing the (whole) text message, using a template is a better option.", "enable_push": "Using Push-IMAP is recommended. Polling will increase the time to respond." } } }, "error": { "already_configured": "An entry with these folder and search options already exists.", "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]", "invalid_auth": "[%key:common::config_flow::error::invalid_auth%]", "invalid_charset": "[%key:component::imap::config::error::invalid_charset%]", "invalid_folder": "[%key:component::imap::config::error::invalid_folder%]", "invalid_search": "[%key:component::imap::config::error::invalid_search%]" } }, "selector": { "ssl_cipher_list": { "options": { "python_default": "Default settings", "modern": "Modern ciphers", "intermediate": "Intermediate ciphers" } }, "event_message_data": { "options": { "text": "Body text", "headers": "Message headers" } } }, "services": { "fetch": { "name": "Fetch message", "description": "Fetch an email message from the server.", "fields": { "entry": { "name": "Entry", "description": "The IMAP config entry." }, "uid": { "name": "UID", "description": "The email identifier (UID)." } } }, "seen": { "name": "Mark message as seen", "description": "Mark an email as seen.", "fields": { "entry": { "name": "Entry", "description": "The IMAP config entry." }, "uid": { "name": "UID", "description": "The email identifier (UID)." } } }, "move": { "name": "Move message", "description": "Move an email to a target folder.", "fields": { "entry": { "name": "[%key:component::imap::services::seen::fields::entry::name%]", "description": "[%key:component::imap::services::seen::fields::entry::description%]" }, "seen": { "name": "Seen", "description": "Mark the email as seen." }, "uid": { "name": "[%key:component::imap::services::seen::fields::uid::name%]", "description": "[%key:component::imap::services::seen::fields::uid::description%]" }, "target_folder": { "name": "Target folder", "description": "The target folder the email should be moved to." } } }, "delete": { "name": "Delete message", "description": "Delete an email.", "fields": { "entry": { "name": "[%key:component::imap::services::seen::fields::entry::name%]", "description": "[%key:component::imap::services::seen::fields::entry::description%]" }, "uid": { "name": "[%key:component::imap::services::seen::fields::uid::name%]", "description": "[%key:component::imap::services::seen::fields::uid::description%]" } } } } }