aboutsummaryrefslogtreecommitdiffstats
path: root/worker/jmap/send.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker/jmap/send.go')
-rw-r--r--worker/jmap/send.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/worker/jmap/send.go b/worker/jmap/send.go
index 7f5ffc4f..0791419c 100644
--- a/worker/jmap/send.go
+++ b/worker/jmap/send.go
@@ -43,7 +43,7 @@ func (w *JMAPWorker) handleStartSend(msg *types.StartSendingMessage) error {
// Import the blob into drafts
req.Invoke(&email.Import{
- Account: w.accountId,
+ Account: w.AccountId(),
Emails: map[string]*email.EmailImport{
"aerc": {
BlobID: blob.ID,
@@ -68,7 +68,7 @@ func (w *JMAPWorker) handleStartSend(msg *types.StartSendingMessage) error {
envelope := &emailsubmission.Envelope{MailFrom: from, RcptTo: rcpts}
// Create the submission
req.Invoke(&emailsubmission.Set{
- Account: w.accountId,
+ Account: w.AccountId(),
Create: map[jmap.ID]*emailsubmission.EmailSubmission{
"sub": {
IdentityID: identity,