An open API service indexing awesome lists of open source software.

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

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.