You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Request]: Expose attachment Content-IDs (cid) to API
#615
I'm writing a custom front-end for my family to search and see their old emails using mail-archiver, communicating through the API. When opening a message with inline images, my front-end code has to download and parse the original message to get the attachment by cid. This is fragile (messages can be stored without the original, I think, depending on configuration) and inefficient.
Describe the solution you'd like
Add a contentId to each attachment in GET /api/v1/emails/{id}. Preferably never with the optional angle brackets.
Additional context
I think this one is straightforward and would be happy to submit a PR for it if that would help.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem?
I'm writing a custom front-end for my family to search and see their old emails using mail-archiver, communicating through the API. When opening a message with inline images, my front-end code has to download and parse the original message to get the attachment by cid. This is fragile (messages can be stored without the original, I think, depending on configuration) and inefficient.
Describe the solution you'd like
Add a contentId to each attachment in GET /api/v1/emails/{id}. Preferably never with the optional angle brackets.
Additional context
I think this one is straightforward and would be happy to submit a PR for it if that would help.
All reactions