summaryrefslogtreecommitdiff
path: root/alot/commands/envelope.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/commands/envelope.py')
-rw-r--r--alot/commands/envelope.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/alot/commands/envelope.py b/alot/commands/envelope.py
index d008d227..0aa95cf2 100644
--- a/alot/commands/envelope.py
+++ b/alot/commands/envelope.py
@@ -248,6 +248,10 @@ class SendCommand(Command):
cmd = commands.globals.BufferCloseCommand(self.envelope_buffer)
ui.apply_command(cmd)
ui.notify('mail sent successfully')
+ if self.envelope.replied:
+ self.envelope.replied.add_tags(account.replied_tags)
+ if self.envelope.passed:
+ self.envelope.passed.add_tags(account.passed_tags)
# store mail locally
# This can raise StoreMailError