diff --git a/fetchmail_attach_from_folder/view/fetchmail_server.xml b/fetchmail_attach_from_folder/view/fetchmail_server.xml
index 410ebede7..49384b039 100644
--- a/fetchmail_attach_from_folder/view/fetchmail_server.xml
+++ b/fetchmail_attach_from_folder/view/fetchmail_server.xml
@@ -24,26 +24,27 @@
-
diff --git a/fetchmail_attach_from_folder/wizard/attach_mail_manually.py b/fetchmail_attach_from_folder/wizard/attach_mail_manually.py
index 86fadbf62..d1a16fa1f 100644
--- a/fetchmail_attach_from_folder/wizard/attach_mail_manually.py
+++ b/fetchmail_attach_from_folder/wizard/attach_mail_manually.py
@@ -85,8 +85,10 @@ class attach_mail_manually(TransientModel):
msgid, folder.path, this.server))
continue
- mail_message = self.pool.get('mail.message').parse_message(
- msgdata[0][1], this.folder_id.server_id.original)
+ mail_message = self.pool.get('mail.thread').message_parse(
+ cr, uid, msgdata[0][1],
+ save_original=this.folder_id.server_id.original,
+ context=context)
this.folder_id.server_id.attach_mail(connection,
mail.object_id.id, this.folder_id, mail_message,
diff --git a/fetchmail_attach_from_folder/wizard/attach_mail_manually.xml b/fetchmail_attach_from_folder/wizard/attach_mail_manually.xml
index d33e7b653..fbe82eea7 100644
--- a/fetchmail_attach_from_folder/wizard/attach_mail_manually.xml
+++ b/fetchmail_attach_from_folder/wizard/attach_mail_manually.xml
@@ -6,20 +6,22 @@
fetchmail.attach.mail.manually