feat(GODT-2703): got rid of account details dialog with Apple Mail autoconf.

This commit is contained in:
Xavier Michelon
2023-06-21 10:21:19 +02:00
parent a2c2710760
commit 09eef64514
3 changed files with 10 additions and 3 deletions

View File

@ -30,6 +30,7 @@ type Config struct {
DisplayName string
Identifier string
Organization string
AccountName string
AccountDescription string
IMAP *IMAP

View File

@ -24,6 +24,10 @@ const mailTemplate = `<?xml version="1.0" encoding="UTF-8"?>
<key>PayloadContent</key>
<array>
<dict>
{{- if .AccountName}}
<key>EmailAccountName</key>
<string>{{.AccountName}}</string>
{{- end}}
{{- if .AccountDescription}}
<key>EmailAccountDescription</key>
<string>{{.AccountDescription}}</string>