diff --git a/app/lib/email_processor.rb b/app/lib/email_processor.rb
index 2683718c..a4f349eb 100644
--- a/app/lib/email_processor.rb
+++ b/app/lib/email_processor.rb
@@ -312,6 +312,7 @@ def clean_message(body)
body&.gsub!(/
\z/, "")&.gsub!(/
\z/, "")&.gsub!(/^$\n\z/, "") # remove last unnecessary line break
body&.gsub!(/
\z/, "")&.gsub!(/
\z/, "")&.gsub!(/^$\n\z/, "") # remove last unnecessary line break
body&.gsub!(/
\z/, "")&.gsub!(/
\z/, "")&.gsub!(/^$\n\z/, "") # remove last unnecessary line break
+ body&.gsub!("p.MsoNormal,p.MsoNoSpacing{margin:0}", "") # remove outlook styles
body = body&.strip
return unless body.present?
@@ -354,6 +355,7 @@ def clean_html_version(html)
html&.gsub!(/\A
/, "") # remove
from very beginning of html
html&.gsub!(/