tweaks and fixes for email reading

workspace
Brendan Howell 7 years ago
parent 8f8ee7b6af
commit 9e5f3ddfe2

@ -259,6 +259,7 @@ class MailRoom(Bureau):
Polls the currently configured IMAP server and returns a dict
containing unread emails.
"""
self._connect_imap()
messages = self.imapserv.sort("ARRIVAL", ["UNSEEN"])
print("%d unread messages in INBOX" % len(messages))
resp = self.imapserv.fetch(messages, ['FLAGS', 'INTERNALDATE',

@ -5,7 +5,7 @@
<style type="text/css">
body {
font-family: "CMU Serif";
font-size: 11pt;
font-size: 13pt;
line-height: 1;
}
h1 {
@ -27,7 +27,7 @@
font-family: "Fold";
font-weight: 400;
text-transform: uppercase;
font-size: 9vw;
font-size: 12vw;
text-align: center;
margin: 0;
}

Loading…
Cancel
Save