3d printing via mailpile


I’m hobbyist trying to build a proof of concept

trying to develop a plugin in octoprint application(used for 3d printing) which can access and my emails based on the emails I receive it(plugin) will decide which file to print next

So here I need to know if I can access mailpile database table in which mails are saved ?

Both the application are based in python

If yes then can you help me with how to connect to mailpile database and which DB is mailpile using to save it’s mails

Any information, links, etc related to this subject hugely appreciated



Mailpile does not use an SQL database, it’s all internal custom data structures, due our privacy and encryption goals. The easiest way to do this would probably be to modify the Python code of Mailpile to proactively send data to your Python app.

I can’t really advise you on the best way to do that, and I’m not 100% sure Mailpile is the right fit for this project. But hopefully this is useful information for you!


Thanks for the reply

It was useful information

Is there any documentation which will help me understand mailpile structure and code ?