diff --git a/src/configure.rs b/src/configure.rs
index 680b0ee48..54fc172b8 100644
--- a/src/configure.rs
+++ b/src/configure.rs
@@ -721,12 +721,12 @@ async fn get_autoconfig(
}
progress!(ctx, 300);
+ // `?emailaddress=` query string is excluded on purpose.
+ // It is not part of the URL according to .
+ // Related discussion confirming this is at .
if let Ok(res) = moz_autoconfigure(
ctx,
- // the doc does not mention `emailaddress=`, however, Thunderbird adds it, see , which makes some sense
- &format!(
- "https://{param_domain}/.well-known/autoconfig/mail/config-v1.1.xml?emailaddress={param_addr_urlencoded}"
- ),
+ &format!("https://{param_domain}/.well-known/autoconfig/mail/config-v1.1.xml"),
¶m.addr,
accept_invalid_certificates,
)