aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hooks/mail-received.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hooks/mail-received.go')
-rw-r--r--lib/hooks/mail-received.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/hooks/mail-received.go b/lib/hooks/mail-received.go
index 8f62be50..99d3ceef 100644
--- a/lib/hooks/mail-received.go
+++ b/lib/hooks/mail-received.go
@@ -25,5 +25,6 @@ func (m *MailReceived) Env() []string {
fmt.Sprintf("AERC_FROM_NAME=%s", from.Name),
fmt.Sprintf("AERC_FROM_ADDRESS=%s", from.Address),
fmt.Sprintf("AERC_SUBJECT=%s", m.MsgInfo.Envelope.Subject),
+ fmt.Sprintf("AERC_MESSAGE_ID=%s", m.MsgInfo.Envelope.MessageId),
}
}