Append domain to login before trying IMAP connection

Append email domain to login before trying connect to the IMAP server. Use this instead of strip_domain,
which removes the domain before trying the IMAP connection, to avoid the domain in the folder names of the collection.
This commit is contained in:
Michael Bartel
2026-06-26 20:52:38 +02:00
committed by Peter Bieringer
parent 50d8ee97a0
commit b3770c4f2d
4 changed files with 31 additions and 5 deletions

View File

@@ -440,6 +440,10 @@ DEFAULT_CONFIG_SCHEMA: types.CONFIG_SCHEMA = OrderedDict([
"value": "tls",
"help": "Secure the IMAP connection: *tls*|starttls|none",
"type": imap_security}),
("imap_append_domain", {
"value": "",
"help": "Append domain to login before trying IMAP connection like @domain.tld",
"type": str}),
("oauth2_token_endpoint", {
"value": "",
"help": "OAuth2 token endpoint URL",