https://github.com/felinira/imapprint
Print all attachments sent to an email address
https://github.com/felinira/imapprint
attachment imap imap-client mail pandoc printing python python3
Last synced: over 1 year ago
JSON representation
Print all attachments sent to an email address
- Host: GitHub
- URL: https://github.com/felinira/imapprint
- Owner: felinira
- Created: 2018-11-11T02:05:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-29T18:32:11.000Z (over 7 years ago)
- Last Synced: 2025-01-26T06:44:21.572Z (over 1 year ago)
- Topics: attachment, imap, imap-client, mail, pandoc, printing, python, python3
- Language: Python
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IMAP Mail Printer
This package looks for new messages in an email account and prints all attachments.
You can forward any mails with attachments to this account to have them printed out. You just need to run this script regularly (for instance every minute)
## Installation
This package requires libreoffice, pandoc and pypandoc. The more recent the version of pandoc the better.
Copy credentials.py.template to credentials.py and modify to your needs. Then run mailprint.py in a cron job.
## Behavior
All unread mail will be downloaded and printed once. After downloading the message will be marked as read so it will not be printed again.