Skip to content

Instantly share code, notes, and snippets.

View khachuy2705's full-sized avatar
🤒
Out sick

Bui Khac Huy khachuy2705

🤒
Out sick
  • VN
View GitHub Profile
@khachuy2705
khachuy2705 / migrate_imap.py
Last active February 13, 2025 14:22 — forked from paloha/migrate_imap.py
Very simple Python script to download/upload emails from/to an IMAP folder.
#!/usr/bin/env python
#
# Very simple Python script to download/upload emails from/to an IMAP folder.
# This code is based on a simpler version from https://gist.github.com/robulouski/7442321
# This code is released into the public domain.
#
# Paloha 2020
# khachuy2705 2025: Preserve the timestamp of the email message
import os
import sys

Keybase proof

I hereby claim:

  • I am khachuy2705 on github.
  • I am jokerpzo (https://keybase.io/jokerpzo) on keybase.
  • I have a public key ASBqFngNiTQbHj9Yjy-W4AWgGoJ5kJC54mTbtz20ITxivAo

To claim this, I am signing this object: