diff --git a/javascript/src/helpers/mailparser.js b/javascript/src/helpers/mailparser.js
index 8d1658a4b1f864b66d0f5f672fbf4a0a8cb5f2b5..94dbb07a08059b804bc64bdcd0d0c59472ac56b9 100644
--- a/javascript/src/helpers/mailparser.js
+++ b/javascript/src/helpers/mailparser.js
@@ -302,7 +302,9 @@ export function getHTML(mime, parts) {
     }
     contentDisposition = contentDisposition[0];
     if (contentDisposition.indexOf("attachment") >= 0 || contentDisposition.indexOf("inline") >= 0) {
+
       let contentId = getHeaderValue("content-id", parts[i]);
+      console.log("CID", contentId);
       if (contentId === null || contentId === undefined) {
         continue;
       }
@@ -315,9 +317,12 @@ export function getHTML(mime, parts) {
       if (contentType === null || contentType === undefined) {
         continue;
       }
+      console.log("CID2", contentId);
       contentType = contentType[0];
+      console.log("ContentTYpe", contentType);
       const normalizedBody = getBody(mime, parts[i]).replace(newline, "");
       const src = "data:" + contentType + ";base64, " + normalizedBody;
+      console.log("SRC", src);
       html = html.split(contentId).join(src);
     }
   }