Index of e-mail’s

Ok, so a non-problem made into a geek wet dream!

I’m making an index of stuff. emails, Letters, Documents everything. Yess OTT but I don’t care.


Database AWS RDS t3.small
Frontend / Web-GUI PHP7.3, Nginx, jQuery
Index Scripts python I’m using
Google Drive, Calendar, People APIs
AWS Comprend, S3, SNS, SQN Services.

Currently running on my local network, but I might put it on AWS, not sure.

I’ve settled on Date, Comment, Json as my Database schema.
JSON Allows for a fluid metadata scheme. So JSON for A Scanned Document and an email would be different but can share attributes.

Traceback (most recent call last):
  File "utils/", line 108, in 
    msg = email.message_from_string(Imap_Fetch_Data)
  File "/usr/lib/python3.6/email/", line 38, in message_from_string
    return Parser(*args, **kws).parsestr(s)
  File "/usr/lib/python3.6/email/", line 68, in parsestr
    return self.parse(StringIO(text), headersonly=headersonly)
TypeError: initial_value must be str or None, not list

Published by

Daniel McMorrow

37 Year old disabled geek,