{# _email_form.html — reusable email account form fields Expects context variable `acct` (dict with existing values, or empty dict for add). The enclosing
must supply action and method. The form does NOT include a name field when editing (hidden input in parent). #} {% set _presets_json %}{"gmail":{"imap_host":"imap.gmail.com","smtp_host":"smtp.gmail.com","smtp_port":587,"auth":"basic"},"outlook":{"imap_host":"outlook.office365.com","smtp_host":"smtp.office365.com","smtp_port":587,"auth":"oauth","oauth_authority":"https://login.microsoftonline.com/common"},"custom":{"imap_host":"","smtp_host":"","smtp_port":587,"auth":"basic"}}{% endset %}