diff --git a/mail2x.py b/mail2x.py
index 360e5ae..2e35689 100644
--- a/mail2x.py
+++ b/mail2x.py
@@ -42,7 +42,7 @@ def post_tweet_with_media(tweet_content, media_id=None):
return requests.post(tweet_url, auth=auth, json=payload)
def mark_email_as_read(mail, email_id):
- mail.store(email_id, '+FLAGS', '\Seen')
+ mail.store(email_id, '+FLAGS', r'\Seen')
def check_email_and_tweet():
mail = imaplib.IMAP4_SSL(IMAP_SERVER)