diff --git a/apps/patchwork/bin/parsemail.py b/apps/patchwork/bin/parsemail.py
index 68bd94c..190b312 100755
--- a/apps/patchwork/bin/parsemail.py
+++ b/apps/patchwork/bin/parsemail.py
@@ -140,31 +140,44 @@ def find_content(project, mail):
     commentbuf = ''
 
     for part in mail.walk():
-        if part.get_content_maintype() != 'text':
-            continue
+        if part.get_content_maintype() == 'text':
+		payload = part.get_payload(decode=True)
+		charset = part.get_content_charset()
+		subtype = part.get_content_subtype()
 
-        payload = part.get_payload(decode=True)
-        charset = part.get_content_charset()
-        subtype = part.get_content_subtype()
+		# if we don't have a charset, assume utf-8
+		if charset is None:
+		    charset = 'utf-8'
 
-        # if we don't have a charset, assume utf-8
-        if charset is None:
-            charset = 'utf-8'
+		if not isinstance(payload, unicode):
+		    payload = unicode(payload, charset)
 
-        if not isinstance(payload, unicode):
-            payload = unicode(payload, charset)
+		if subtype in ['x-patch', 'x-diff']:
+		    patchbuf = payload
 
-        if subtype in ['x-patch', 'x-diff']:
-            patchbuf = payload
+		elif subtype == 'plain':
+		    if not patchbuf:
+			(patchbuf, c) = parse_patch(payload)
+		    else:
+			c = payload
 
-        elif subtype == 'plain':
-            if not patchbuf:
-                (patchbuf, c) = parse_patch(payload)
-            else:
-                c = payload
+		    if c is not None:
+			commentbuf += c.strip() + '\n'
 
-            if c is not None:
-                commentbuf += c.strip() + '\n'
+	elif part.get_content_maintype() == 'application' and part.get_content_subtype() == 'octet-stream':
+		payload = part.get_payload(decode=True)
+		charset = part.get_content_charset()
+		# if we don't have a charset, assume utf-8
+		if charset is None:
+		    charset = 'utf-8'
+
+		if not isinstance(payload, unicode):
+		    payload = unicode(payload, charset)
+
+		(patchbuf, c) = parse_patch(payload)
+
+		if c is not None:
+			commentbuf += c.strip() + '\n'
 
     patch = None
     comment = None
