From 483a5562add83cef250e425a7b0e040f05f1d29d Mon Sep 17 00:00:00 2001 From: Erwan David Date: Wed, 30 Dec 2020 12:30:50 +0100 Subject: [PATCH] Beginning stucture --- backends/imap.py | 1 + mail_archive.py | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 backends/imap.py create mode 100644 mail_archive.py diff --git a/backends/imap.py b/backends/imap.py new file mode 100644 index 0000000..21ab5da --- /dev/null +++ b/backends/imap.py @@ -0,0 +1 @@ +#! /usr/bin/env python3 diff --git a/mail_archive.py b/mail_archive.py new file mode 100644 index 0000000..db389b2 --- /dev/null +++ b/mail_archive.py @@ -0,0 +1,24 @@ +#! /usr/bin/env python3 + +import imaplib +from os.path import expanduser + + +### +# Constants + +CONFIG_FILE="~/.mail_archive.yml" + + + +## +# Read Configuration + + +## +# Abstract backend class + + +## +# Backends logins +