diff --git a/product/ERP5/Document/EmailDocument.py b/product/ERP5/Document/EmailDocument.py
index 9cdf7acd3a5da0d25a7be280e6e49e98676e8500..4217103b3372a4057b8a8c207af172b7701f88f5 100644
--- a/product/ERP5/Document/EmailDocument.py
+++ b/product/ERP5/Document/EmailDocument.py
@@ -380,7 +380,6 @@ class EmailDocument(TextDocument):
         return self._baseGetTitle()
       else:
         return self._baseGetTitle(default)
-    message = self._getMessage()
     subject = self.getContentInformation().get('Subject', '')
     # Remove all newlines
     if '\r' in subject: