Email templates

:compose -T <template name>

Also support a default template. Prepopulates the editor with the contents of some file.

Assigned to
1 year, 5 months ago
11 months ago

~robertgzr 1 year, 5 months ago

I assume you refer to local template files?

What do you think about drafts/templates synced via IMAP?

~sircmpwn 1 year, 5 months ago

Hm, I think drafts and templates are fundamentally different features.

~robertgzr 1 year, 5 months ago

agreed. I was just thinking about it when reading this bc I was looking at implementing something like save-draft instead of send/abort in the new compose widget :) and I use synced templates quite a bit myself

~robertgzr 1 year, 5 months ago

s/instead of/along with

~jeffas 1 year, 1 month ago

Support for signatures (basically default templates) was added here: https://git.sr.ht/~sircmpwn/aerc/commit/e2d5c456dc27f958d79fdf740c7b0852b2af4160.

The ability to compose from a choice of different templates would be awesome to have too though.

~srivathsan 1 year, 27 days ago

I would like to take a stab at implementing this as this would be quite useful for me :D So I have two ways I can think of implementing this:

  1. Implement this as part of buildBody in commands/account/compose.go.
  2. Implement it as part of the composer in widget/compose.go similar to the signature file. This would make it available for reply and forward too. Any comments on which method to go for?

~sircmpwn REPORTED IMPLEMENTED 11 months ago

Register here or Log in to comment, or comment via email.