jamesridgway / attachment-downloader

Simple tool for downloading email attachments for all emails in a given folder using an IMAP client
MIT License
85 stars 39 forks source link

Feature request - add IPTC tag on ingest #34

Closed idcline closed 2 years ago

idcline commented 2 years ago

I use Wolfgang's gmail script to add all new content to my frame. I now see that I need to transition to this service. Thanks for fixing the upcoming problem.

I was starting to explore modifying the gmail script to have the script call a IPTC tag editor to add a comment tag that is contained in the email. The comment could either be in the subject line deleted by a character such as ~caption~ or possibly be in the body text.

Goal would be to call either the iptcinfo3 function info['caption/abstract'] = 'Witty caption here' or another library such as exiv2: exiv2 -M"add Iptc.Application2.Caption caption" filename once the file is detached and stored.

Is this something you are willing to add? If not, I think I might be able to use the filename template to capture the subject in the filename and then have another script walk through the import folder, parts the filename and make the change.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.