{# This is a self-contained modal for adding (and editing) account details. This is a single form which handles profiles, routes and basic source configuration. The basic section of the form captures name, e-mail and password. If the user allows auto-detection of settings, the Thunderbird ISPDB will be queried and possibly other heuristics employed to figure out correct connection settings. If successful, the route and source forms will be filled in automatically (and skipped on Next). Manual settings for routes and sources are as expected; local or remote options, SMTP, IMAP, POP3, SSL, ports, hostnames, auth, ... The security section of the form allows the user to choose which PGP key to associate with this account or create a new one if he has none, which will take place in a long-running background process. The user can at any time skip forward or backwards in the form by clicking on the section headlines, which are kept visible for that purpose. #}{% set new_src_id = result.new_src_id %}