Index: camel/camel-mime-utils.c
===================================================================
--- camel/camel-mime-utils.c	(revisión: 8904)
+++ camel/camel-mime-utils.c	(copia de trabajo)
@@ -2462,6 +2462,24 @@
    *(word) '<' [ *('@' domain ) ':' ] word *( '.' word) @ domain
    */
 
+static void
+fix_broken_rfc2047 (const char **in)
+{
+	gchar *p, *q, *r;
+
+	p = g_strrstr (*in, "<");
+	if (!p)
+		return;
+	q = g_strrstr (p, ">");
+	if (!q) return;
+	r = g_strrstr (q, "?=");
+	if (!r) return;
+
+	memmove (p+2, p, r-p);
+	p[0] = '?';
+	p[1] = '=';
+}
+
 static struct _camel_header_address *
 header_decode_mailbox(const char **in, const char *charset)
 {
@@ -2475,6 +2493,11 @@
 
 	addr = g_string_new("");
 
+	if (strncmp (inptr, "=?", 2)==0) {
+		/* check if we've got a wrong string as gmail sends and fix it.*/
+		fix_broken_rfc2047 (in);
+	}
+
 	/* for each address */
 	pre = header_decode_word (&inptr);
 	header_decode_lwsp(&inptr);
