Skip to content

Generate many email threads for testing purposes and persist them on an IMAP server.

License

Notifications You must be signed in to change notification settings

st3iny/mail_chain.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mail_chain.py

Generate many email threads for testing purposes and persist them on an IMAP server. The script has no dependencies outside of Python's standard library.

Preparation

  1. Provision an IMAP server and enable TLS, e.g. Stalwart.
  2. Create two users on it, e.g. alice@stalwart.localhost and bob@stalwart.localhost.

Usage

  1. Edit the settings block at the beginning of mail_chain.py before running. The settings should be self-explanatory.
  2. Run the script and pass the desired amount of messages to generate, e.g. mail_chain.py 100000.

About

Generate many email threads for testing purposes and persist them on an IMAP server.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages