Skip to content

Instantly share code, notes, and snippets.

@BosnaZmaj
BosnaZmaj / imapsync-interactive.py
Created March 23, 2018 13:42 — forked from antoine-briand/imapsync-interactive.py
Interactive ImapSync tool written in python 3. Useful to sync imap accounts across different mail servers. Python 3 and imapsync must be installed on the machine.
# coding: utf8
import os, csv
print("Welcome to the ImapSync interactive")
mode = input("Interactive mode or Read CSV file ? (1/2) ")
if mode == "2":
#host1;user1;password1;host2;user2;password2
file = input("File path : ")
if file:
print("Reading file")