Skip to content

Instantly share code, notes, and snippets.

@seanbreckenridge
Created October 19, 2021 01:30
Show Gist options
  • Save seanbreckenridge/5a629efacd72e7c28de0930f7e3ed8cf to your computer and use it in GitHub Desktop.
Save seanbreckenridge/5a629efacd72e7c28de0930f7e3ed8cf to your computer and use it in GitHub Desktop.
Example IMAP
Delivered-To: seanbrecke@gmail.com
Received: by 2002:a92:a302:0:0:0:0:0 with SMTP id a2csp3759816ili;
Mon, 18 Oct 2021 15:24:14 -0700 (PDT)
Return-Path: <noreply@github.com>
From: krillin666 <notifications@github.com>
Reply-To: seanbreckenridge/HPI <reply+AB3RO54DHZJWIKC67ZBNO657PHKQ3EVBNHHD2X2UAQ@reply.github.com>
To: seanbreckenridge/HPI <HPI@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <seanbreckenridge/HPI/issues/15@github.com>
Subject: =?UTF-8?Q?[seanbreckenridge/HPI]_How_to_use_IMAP_function?=
=?UTF-8?Q?_=F0=9F=93=A7_=28Issue_#15=29?=
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_616df40da4466_3030c71014606";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: krillin666
X-GitHub-Recipient: seanbreckenridge
X-GitHub-Reason: subscribed
List-ID: seanbreckenridge/HPI <HPI.seanbreckenridge.github.com>
List-Archive: https://github.com/seanbreckenridge/HPI
List-Post: <mailto:reply+AB3RO54DHZJWIKC67ZBNO657PHKQ3EVBNHHD2X2UAQ@reply.github.com>
List-Unsubscribe: <mailto:unsub+AB3RO54DHZJWIKC67ZBNO657PHKQ3EVBNHHD2X2UAQ@reply.github.com>,
<https://github.com/notifications/unsubscribe/AB3RO55UJRHIXRTH4QF5TT3UHSNA3ANCNFSM5GHWKYNA>
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: seanbrecke@gmail.com
X-TUID: bJHrd6hxOHOy
----==_mimepart_616df40da4466_3030c71014606
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Hello,
Thanks for this amazing extension of HPI that I just discovered. I was trying to setup this with Promnesia for my emails but I'm getting zero indexing:
```
[INFO 2021-10-18 23:17:26 promnesia extract.py:49] extracting via promnesia_sean.sources.imap:index () {} ... ...
[INFO 2021-10-18 23:17:26 promnesia extract.py:82] extracting via promnesia_sean.sources.imap:index () {} ...: got 0 visits
```
I am using this [Thunderbird Addon](https://addons.thunderbird.net/en-US/thunderbird/addon/importexporttools-ng/) and I've tried to export with using:
- Export whole folder
- Export whole folder with structure
- Export all emails in EML format
- Export all email in TXT format
All these export are in my .local/share/mail path, I even wrote the path literally in the __init___ file instead of using `path,join` but nothing works.
Thank you so much !
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/seanbreckenridge/HPI/issues/15
----==_mimepart_616df40da4466_3030c71014606
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
<p></p>
<p>Hello,</p>
<p>Thanks for this amazing extension of HPI that I just discovered. I was trying to setup this with Promnesia for my emails but I'm getting zero indexing:</p>
<pre><code>[INFO 2021-10-18 23:17:26 promnesia extract.py:49] extracting via promnesia_sean.sources.imap:index () {} ... ...
[INFO 2021-10-18 23:17:26 promnesia extract.py:82] extracting via promnesia_sean.sources.imap:index () {} ...: got 0 visits
</code></pre>
<p>I am using this <a href="https://addons.thunderbird.net/en-US/thunderbird/addon/importexporttools-ng/" rel="nofollow">Thunderbird Addon</a> and I've tried to export with using:</p>
<ul>
<li>Export whole folder</li>
<li>Export whole folder with structure</li>
<li>Export all emails in EML format</li>
<li>Export all email in TXT format</li>
</ul>
<p>All these export are in my .local/share/mail path, I even wrote the path literally in the <strong>init</strong>_ file instead of using <code>path,join</code> but nothing works.</p>
<p>Thank you so much !</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/seanbreckenridge/HPI/issues/15">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AB3RO53T6EAQW26ENUIU46DUHSNA3ANCNFSM5GHWKYNA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&amp;mt=8&amp;pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&amp;referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AB3RO56YT2BHYXNR4OKU3RLUHSNA3A5CNFSM5GHWKYNKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4PK7KQCA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/seanbreckenridge/HPI/issues/15",
"url": "https://github.com/seanbreckenridge/HPI/issues/15",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>
----==_mimepart_616df40da4466_3030c71014606--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment