Ability to change name of the attachment file

It could be cool to let the user change the name of the attached file while redacting message.

Does this feature exist in another mail client or tool you use?


(Originally posted by GP-S on GitHub.)

Wow you can do this in Thunderbird? Man that thing has so many features. I think this would be a cool one for someone to tackle - maybe we could make it so that hovering over the attachment’s name showed a little edit pen icon, and clicking that let you change it?

This UI is rendered by AttachmentItem in this file: https://github.com/Foundry376/Mailspring/blob/3a526d2fa7e32b204ae1d09bd6e013dc684087bf/app/src/components/attachment-items.jsx#L97. That’d probably be a good place to start! (Note: that file contains a bunch of react components that haven’t been broken into separate files yet because they’re only used elsewhere in the file. A few of the smaller ones are “function-style” React Components which can be a bit confusing.)


(Originally posted by bengotow on GitHub.)

Wow you can do this in Thunderbird?

Yep. But you have to right click on the attachment to see the feature option. It may explain why there is not much people aware of this one (which is tremendously useful when you get used to it).

For what it worth I like the idea of the pen appearing when hovering the name :slight_smile:

(Originally posted by GP-S on GitHub.)