Script to convert emails to PDF from the command-line, as well as detach recognized attachments. Helps to process incoming emails and assist automatically with a non-paper paperwork workflow. Designed to work in tandem with getmail to convert forwarded emails to PDF automatically.
MIT License
68
stars
35
forks
source link
close file handle to prevent file being locked (win32) #108
I was getting a PermissionError in windows because there was still a handle to the temp file left open, causing the subsequent move to fail.