Email templates

:compose -T <template name>

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

Assigned to
8 months ago
2 months ago

~robertgzr 8 months ago

I assume you refer to local template files?

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

~sircmpwn 8 months ago

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

~robertgzr 8 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 8 months ago

s/instead of/along with

~jeffas 4 months 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 3 months 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 2 months ago

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