@gmail-integration
Feature: External sender to Proton recipient sending an HTML text message
  Background:
    Given there exists an account with username "[user:user]" and password "password"
    Then it succeeds
    When bridge starts
    And the user logs in with username "[user:user]" and password "password"
    Then it succeeds

  Scenario: HTML message sent from External to Internal
    Given external client sends the following message from "auto.bridge.qa@gmail.com" to "[user:user]@[domain]":
      """
      From: <auto.bridge.qa@gmail.com>
      To: <[user:user]@[domain]>
      Subject: Hello World!
      Content-Type: text/html; charset=UTF-8
      Content-Transfer-Encoding: 7bit

      <!DOCTYPE html>
      <html>
      <head>

      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      </head>
      <body>
      Hello World!<br>
      </body>
      </html>

      """
    Then it succeeds
    When user "[user:user]" connects and authenticates IMAP client "1"
    Then IMAP client "1" eventually sees the following messages in "Inbox":
      | from                     | to                   | subject      |
      | auto.bridge.qa@gmail.com | [user:user]@[domain] | Hello World! |
    And IMAP client "1" eventually sees the following message in "Inbox" with this structure:
       """
      {
        "from": "auto.bridge.qa@gmail.com",
        "to": "[user:user]@[domain]",
        "subject": "Hello World!",
        "content": {
        "content-type": "text/html",
        "content-type-charset": "utf-8",
        "transfer-encoding": "quoted-printable",
        "body-is": "<html>\r\n<head>\r\n\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\r\n</head>\r\n<body>\r\nHello World!<br>\r\n</body>\r\n</html>"
        }
      }
       """

  Scenario: HTML message with Foreign/Nonascii chars in Subject and Body from External to Internal
    Given external client sends the following message from "auto.bridge.qa@gmail.com" to "[user:user]@[domain]":
      """
      To: <[user:user]@[domain]>
      From: Bridge Automation <auto.bridge.qa@gmail.com>
      Subject: =?UTF-8?B?U3Vias61zq3Pgs+EIMK2IMOEIMOI?=
      Content-Type: text/html; charset=UTF-8
      Content-Transfer-Encoding: 8bit

      <!DOCTYPE html>
      <html>
      <head>

        <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      </head>
      <body>
        <p>Subjεέςτ ¶ Ä È<br>
        </p>
      </body>
      </html>

      """
    Then it succeeds
    When user "[user:user]" connects and authenticates IMAP client "1"
    Then IMAP client "1" eventually sees the following messages in "Inbox":
      | from                     | to                   | subject         |
      | auto.bridge.qa@gmail.com | [user:user]@[domain] | Subjεέςτ ¶ Ä È  |
    And IMAP client "1" eventually sees the following message in "Inbox" with this structure:
      """
      {
        "from": "auto.bridge.qa@gmail.com",
        "to": "[user:user]@[domain]",
        "subject": "Subjεέςτ ¶ Ä È",
        "content": {
          "content-type": "text/html",
          "content-type-charset": "utf-8",
          "transfer-encoding": "quoted-printable",
          "body-is": "<html>\r\n<head>\r\n\r\n  <meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\r\n</head>\r\n<body>\r\n  <p>Subjεέςτ ¶ Ä È<br>\r\n  </p>\r\n</body>\r\n</html>"
        }
      }
      """

  Scenario: HTML message with numbering/ordering in Body from External to Internal
    Given external client sends the following message from "auto.bridge.qa@gmail.com" to "[user:user]@[domain]":
      """
      To: <[user:user]@[domain]>
      From: Bridge Automation <auto.bridge.qa@gmail.com>
      Subject: Message with Numbering/Ordering in Body
      Content-Type: text/html; charset=UTF-8
      Content-Transfer-Encoding: 8bit

      <!DOCTYPE html>
      <html>
      <head>

        <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      </head>
      <body>
        <p><font face="Segoe UI, sans-serif">Ordering</font></p>
        <ul
      style="margin: 0px; padding: 0px 0px 0px 2.85714em; font-size: 14px; line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); color: rgb(0, 0, 0); font-family: system-ui, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"
          type="disc">
          <li class="MsoNormal"
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><b
      style="font-weight: bold; line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 9pt; font-family: Helvetica, sans-serif;">Bullet</span></b><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 9pt; font-family: Helvetica, sans-serif;"><span> </span></span><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10pt; font-family: Arial, sans-serif;">1</span><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: Arial, sans-serif;"></span></li>
          <ul
      style="margin: 0px; padding: 0px 0px 0px 2.85714em; font-size: 1em; line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"
            type="circle">
            <li class="MsoNormal"
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10pt; font-family: Arial, sans-serif;">Bullet
                1.1</span><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: Arial, sans-serif;"></span></li>
          </ul>
          <li class="MsoNormal"
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10pt; font-family: Arial, sans-serif;">Bullet
              2</span><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: Arial, sans-serif;"></span></li>
          <ul
      style="margin: 0px; padding: 0px 0px 0px 2.85714em; font-size: 1em; line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"
            type="circle">
            <li class="MsoNormal"
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10pt; font-family: Arial, sans-serif;">Bullet
                2.1</span><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: Arial, sans-serif;"></span></li>
            <li class="MsoNormal"
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><b
      style="font-weight: bold; line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10pt; font-family: Arial, sans-serif;">Bullet
                  2.2</span></b><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: Arial, sans-serif;"></span></li>
            <ul
      style="margin: 0px; padding: 0px 0px 0px 2.85714em; font-size: 1em; line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"
              type="square">
              <li class="MsoNormal"
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><i
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10pt; font-family: Arial, sans-serif;">Bullet
                    2.2.1</span></i><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: Arial, sans-serif;"></span></li>
            </ul>
            <li class="MsoNormal"
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10pt; font-family: Arial, sans-serif;">Bullet
                2.3</span><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: Arial, sans-serif;"></span></li>
          </ul>
          <li class="MsoNormal"
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><b
      style="font-weight: bold; line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><i
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10pt; font-family: Arial, sans-serif;">Bullet
                  3</span></i></b><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: Arial, sans-serif;"></span></li>
        </ul>
        <p class="MsoNormal"
      style="font-size: 14px; line-height: 1.5; margin: 1em 0in 12pt; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); color: rgb(0, 0, 0); font-family: system-ui, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; background: white;"><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: &quot;Segoe UI&quot;, sans-serif; color: rgb(38, 42, 51);">Numbering</span></span><b
      style="font-weight: bold; line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: &quot;Segoe UI&quot;, sans-serif; color: rgb(38, 42, 51);"><br>
            </span></b><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: Arial, sans-serif;"></span></p>
        <ol
      style="margin: 0px; padding: 0px 0px 0px 2.85714em; font-size: 14px; line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); color: rgb(0, 0, 0); font-family: system-ui, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"
          type="1" start="1">
          <li class="MsoNormal"
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><b
      style="font-weight: bold; line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: &quot;Segoe UI&quot;, sans-serif;">Number
                1</span></b><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: Arial, sans-serif;"></span></li>
          <ol
      style="margin: 0px; padding: 0px 0px 0px 2.85714em; font-size: 1em; line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"
            type="1" start="1">
            <li class="MsoNormal"
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><b
      style="font-weight: bold; line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><i
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: &quot;Segoe UI&quot;, sans-serif; color: rgb(38, 42, 51);">Number</span></i></b><b
      style="font-weight: bold; line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: &quot;Segoe UI&quot;, sans-serif; color: rgb(38, 42, 51);"><span> </span>1.1</span></b><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: Arial, sans-serif;"></span></li>
          </ol>
          <li class="MsoNormal"
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: Helvetica, sans-serif; color: rgb(38, 42, 51);">Number
              2</span><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: Arial, sans-serif;"></span></li>
        </ol>
        <ol
      style="margin: 0px; padding: 0px 0px 0px 2.85714em; font-size: 14px; line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); color: rgb(0, 0, 0); font-family: system-ui, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"
          type="1" start="2">
          <ol
      style="margin: 0px; padding: 0px 0px 0px 2.85714em; font-size: 1em; line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"
            type="1" start="1">
            <li class="MsoNormal"
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><b
      style="font-weight: bold; line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><i
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: &quot;Segoe UI&quot;, sans-serif; color: rgb(38, 42, 51);">Number
                    2.1</span></i></b><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: Arial, sans-serif;"></span></li>
            <li class="MsoNormal"
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: Helvetica, sans-serif; color: rgb(38, 42, 51);">Number
                2.2</span><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: Arial, sans-serif;"></span></li>
            <ol
      style="margin: 0px; padding: 0px 0px 0px 2.85714em; font-size: 1em; line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"
              type="1" start="1">
              <li class="MsoNormal"
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: &quot;Segoe UI&quot;, sans-serif; color: rgb(38, 42, 51);">Number
                  2.2.1</span><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: Arial, sans-serif;"></span></li>
            </ol>
            <li class="MsoNormal"
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10pt; font-family: &quot;Segoe UI&quot;, sans-serif;">Number
                2.3</span><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10.5pt; font-family: Arial, sans-serif;"></span></li>
          </ol>
        </ol>
        <ol
      style="margin: 0px; padding: 0px 0px 0px 2.85714em; font-size: 14px; line-height: 1.5; scrollbar-width: thin; scrollbar-color: var(--scrollbar-thumb-color) rgba(0,0,0,0); color: rgb(0, 0, 0); font-family: system-ui, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"
          type="1" start="3">
          <li class="MsoNormal"
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: var(--scrollbar-thumb-color) rgba(0,0,0,0);"><i
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);"><span
      style="line-height: 1.5; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); font-size: 10pt; font-family: &quot;Segoe UI&quot;, sans-serif; color: rgb(38, 42, 51);">Number
                3</span></i></li>
        </ol>
        <p>End<br>
        </p>
        <p></p>
      </body>
      </html>
      """
    Then it succeeds
    When user "[user:user]" connects and authenticates IMAP client "1"
    Then IMAP client "1" eventually sees the following messages in "Inbox":
      | from                     | to                   | subject                                 |
      | auto.bridge.qa@gmail.com | [user:user]@[domain] | Message with Numbering/Ordering in Body |
    And IMAP client "1" eventually sees the following message in "Inbox" with this structure:
      """
      {
        "from": "auto.bridge.qa@gmail.com",
        "to": "[user:user]@[domain]",
        "subject": "Message with Numbering/Ordering in Body",
        "content": {
          "content-type": "text/html",
          "content-type-charset": "utf-8",
          "transfer-encoding": "quoted-printable",
          "body-is": "<html>\r\n<head>\r\n\r\n  <meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\r\n</head>\r\n<body>\r\n  <p><font face=\"Segoe UI, sans-serif\">Ordering</font></p>\r\n  <ul style=\"margin:0px;padding:0px 0px 0px 2.85714em;font-size:14px;line-height:1.5;color:rgb(0,0,0);font-family:system-ui,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:normal;text-decoration-style:initial;text-decoration-color:initial\" type=\"disc\">\r\n    <li class=\"MsoNormal\" style=\"line-height:1.5\"><b style=\"font-weight:bold;line-height:1.5\"><span style=\"line-height:1.5;font-size:9pt;font-family:Helvetica,sans-serif\">Bullet</span></b><span style=\"line-height:1.5;font-size:9pt;font-family:Helvetica,sans-serif\"><span>\u00a0</span></span><span style=\"line-height:1.5;font-size:10pt;font-family:Arial,sans-serif\">1</span><span style=\"line-height:1.5;font-size:10.5pt;font-family:Arial,sans-serif\"></span></li>\r\n    <ul style=\"margin:0px;padding:0px 0px 0px 2.85714em;font-size:1em;line-height:1.5\" type=\"circle\">\r\n      <li class=\"MsoNormal\" style=\"line-height:1.5\"><span style=\"line-height:1.5;font-size:10pt;font-family:Arial,sans-serif\">Bullet\r\n          1.1</span><span style=\"line-height:1.5;font-size:10.5pt;font-family:Arial,sans-serif\"></span></li>\r\n    </ul>\r\n    <li class=\"MsoNormal\" style=\"line-height:1.5\"><span style=\"line-height:1.5;font-size:10pt;font-family:Arial,sans-serif\">Bullet\r\n        2</span><span style=\"line-height:1.5;font-size:10.5pt;font-family:Arial,sans-serif\"></span></li>\r\n    <ul style=\"margin:0px;padding:0px 0px 0px 2.85714em;font-size:1em;line-height:1.5\" type=\"circle\">\r\n      <li class=\"MsoNormal\" style=\"line-height:1.5\"><span style=\"line-height:1.5;font-size:10pt;font-family:Arial,sans-serif\">Bullet\r\n          2.1</span><span style=\"line-height:1.5;font-size:10.5pt;font-family:Arial,sans-serif\"></span></li>\r\n      <li class=\"MsoNormal\" style=\"line-height:1.5\"><b style=\"font-weight:bold;line-height:1.5\"><span style=\"line-height:1.5;font-size:10pt;font-family:Arial,sans-serif\">Bullet\r\n            2.2</span></b><span style=\"line-height:1.5;font-size:10.5pt;font-family:Arial,sans-serif\"></span></li>\r\n      <ul style=\"margin:0px;padding:0px 0px 0px 2.85714em;font-size:1em;line-height:1.5\" type=\"square\">\r\n        <li class=\"MsoNormal\" style=\"line-height:1.5\"><i style=\"line-height:1.5\"><span style=\"line-height:1.5;font-size:10pt;font-family:Arial,sans-serif\">Bullet\r\n              2.2.1</span></i><span style=\"line-height:1.5;font-size:10.5pt;font-family:Arial,sans-serif\"></span></li>\r\n      </ul>\r\n      <li class=\"MsoNormal\" style=\"line-height:1.5\"><span style=\"line-height:1.5;font-size:10pt;font-family:Arial,sans-serif\">Bullet\r\n          2.3</span><span style=\"line-height:1.5;font-size:10.5pt;font-family:Arial,sans-serif\"></span></li>\r\n    </ul>\r\n    <li class=\"MsoNormal\" style=\"line-height:1.5\"><b style=\"font-weight:bold;line-height:1.5\"><i style=\"line-height:1.5\"><span style=\"line-height:1.5;font-size:10pt;font-family:Arial,sans-serif\">Bullet\r\n            3</span></i></b><span style=\"line-height:1.5;font-size:10.5pt;font-family:Arial,sans-serif\"></span></li>\r\n  </ul>\r\n  <p class=\"MsoNormal\" style=\"font-size:14px;line-height:1.5;margin:1em 0in 12pt;color:rgb(0,0,0);font-family:system-ui,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:normal;text-decoration-style:initial;text-decoration-color:initial;background:white\"><span style=\"line-height:1.5\"><span style=\"line-height:1.5;font-size:10.5pt;font-family:&quot;Segoe UI&quot;,sans-serif;color:rgb(38,42,51)\">Numbering</span></span><b style=\"font-weight:bold;line-height:1.5\"><span style=\"line-height:1.5;font-size:10.5pt;font-family:&quot;Segoe UI&quot;,sans-serif;color:rgb(38,42,51)\"><br>\r\n      </span></b><span style=\"line-height:1.5;font-size:10.5pt;font-family:Arial,sans-serif\"></span></p>\r\n  <ol style=\"margin:0px;padding:0px 0px 0px 2.85714em;font-size:14px;line-height:1.5;color:rgb(0,0,0);font-family:system-ui,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:normal;text-decoration-style:initial;text-decoration-color:initial\" type=\"1\" start=\"1\">\r\n    <li class=\"MsoNormal\" style=\"line-height:1.5\"><b style=\"font-weight:bold;line-height:1.5\"><span style=\"line-height:1.5;font-size:10.5pt;font-family:&quot;Segoe UI&quot;,sans-serif\">Number\r\n          1</span></b><span style=\"line-height:1.5;font-size:10.5pt;font-family:Arial,sans-serif\"></span></li>\r\n    <ol style=\"margin:0px;padding:0px 0px 0px 2.85714em;font-size:1em;line-height:1.5\" type=\"1\" start=\"1\">\r\n      <li class=\"MsoNormal\" style=\"line-height:1.5\"><b style=\"font-weight:bold;line-height:1.5\"><i style=\"line-height:1.5\"><span style=\"line-height:1.5;font-size:10.5pt;font-family:&quot;Segoe UI&quot;,sans-serif;color:rgb(38,42,51)\">Number</span></i></b><b style=\"font-weight:bold;line-height:1.5\"><span style=\"line-height:1.5;font-size:10.5pt;font-family:&quot;Segoe UI&quot;,sans-serif;color:rgb(38,42,51)\"><span>\u00a0</span>1.1</span></b><span style=\"line-height:1.5;font-size:10.5pt;font-family:Arial,sans-serif\"></span></li>\r\n    </ol>\r\n    <li class=\"MsoNormal\" style=\"line-height:1.5\"><span style=\"line-height:1.5;font-size:10.5pt;font-family:Helvetica,sans-serif;color:rgb(38,42,51)\">Number\r\n        2</span><span style=\"line-height:1.5;font-size:10.5pt;font-family:Arial,sans-serif\"></span></li>\r\n  </ol>\r\n  <ol style=\"margin:0px;padding:0px 0px 0px 2.85714em;font-size:14px;line-height:1.5;color:rgb(0,0,0);font-family:system-ui,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:normal;text-decoration-style:initial;text-decoration-color:initial\" type=\"1\" start=\"2\">\r\n    <ol style=\"margin:0px;padding:0px 0px 0px 2.85714em;font-size:1em;line-height:1.5\" type=\"1\" start=\"1\">\r\n      <li class=\"MsoNormal\" style=\"line-height:1.5\"><b style=\"font-weight:bold;line-height:1.5\"><i style=\"line-height:1.5\"><span style=\"line-height:1.5;font-size:10.5pt;font-family:&quot;Segoe UI&quot;,sans-serif;color:rgb(38,42,51)\">Number\r\n              2.1</span></i></b><span style=\"line-height:1.5;font-size:10.5pt;font-family:Arial,sans-serif\"></span></li>\r\n      <li class=\"MsoNormal\" style=\"line-height:1.5\"><span style=\"line-height:1.5;font-size:10.5pt;font-family:Helvetica,sans-serif;color:rgb(38,42,51)\">Number\r\n          2.2</span><span style=\"line-height:1.5;font-size:10.5pt;font-family:Arial,sans-serif\"></span></li>\r\n      <ol style=\"margin:0px;padding:0px 0px 0px 2.85714em;font-size:1em;line-height:1.5\" type=\"1\" start=\"1\">\r\n        <li class=\"MsoNormal\" style=\"line-height:1.5\"><span style=\"line-height:1.5;font-size:10.5pt;font-family:&quot;Segoe UI&quot;,sans-serif;color:rgb(38,42,51)\">Number\r\n            2.2.1</span><span style=\"line-height:1.5;font-size:10.5pt;font-family:Arial,sans-serif\"></span></li>\r\n      </ol>\r\n      <li class=\"MsoNormal\" style=\"line-height:1.5\"><span style=\"line-height:1.5;font-size:10pt;font-family:&quot;Segoe UI&quot;,sans-serif\">Number\r\n          2.3</span><span style=\"line-height:1.5;font-size:10.5pt;font-family:Arial,sans-serif\"></span></li>\r\n    </ol>\r\n  </ol>\r\n  <ol style=\"margin:0px;padding:0px 0px 0px 2.85714em;font-size:14px;line-height:1.5;color:rgb(0,0,0);font-family:system-ui,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:normal;text-decoration-style:initial;text-decoration-color:initial\" type=\"1\" start=\"3\">\r\n    <li class=\"MsoNormal\" style=\"line-height:1.5\"><i style=\"line-height:1.5\"><span style=\"line-height:1.5;font-size:10pt;font-family:&quot;Segoe UI&quot;,sans-serif;color:rgb(38,42,51)\">Number\r\n          3</span></i></li>\r\n  </ol>\r\n  <p>End<br>\r\n  </p>\r\n  <p></p>\r\n</body>\r\n</html>"
        }
      }
      """

  Scenario: HTML message with multiple attachments from External to Internal
    Given external client sends the following message from "auto.bridge.qa@gmail.com" to "[user:user]@[domain]":
      """
      Content-Type: multipart/mixed; boundary="------------BDUXmSFXHSA7pD3thpItMZPb"
      To: <[user:user]@[domain]>
      From: <auto.bridge.qa@gmail.com>
      Subject: HTML message with multiple attachments

      This is a multi-part message in MIME format.
      --------------BDUXmSFXHSA7pD3thpItMZPb
      Content-Type: text/html; charset=UTF-8
      Content-Transfer-Encoding: 7bit

      <!DOCTYPE html>
      <html>
      <head>

        <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      </head>
      <body>
        <p>HTML message with multiple attachments<br>
        </p>
      </body>
      </html>
      --------------BDUXmSFXHSA7pD3thpItMZPb
      Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document;
      name="test.docx"
      Content-Disposition: attachment; filename="test.docx"
      Content-Transfer-Encoding: base64

[encoded data, 16736 characters]
      --------------BDUXmSFXHSA7pD3thpItMZPb
      Content-Type: text/html; charset=UTF-8; name="index.html"
      Content-Disposition: attachment; filename="index.html"
      Content-Transfer-Encoding: base64

      IDwhRE9DVFlQRSBodG1sPg0KPGh0bWw+DQo8aGVhZD4NCjx0aXRsZT5QYWdlIFRpdGxlPC90
      aXRsZT4NCjwvaGVhZD4NCjxib2R5Pg0KDQo8aDE+TXkgRmlyc3QgSGVhZGluZzwvaDE+DQo8
      cD5NeSBmaXJzdCBwYXJhZ3JhcGguPC9wPg0KDQo8L2JvZHk+DQo8L2h0bWw+IA==
      --------------BDUXmSFXHSA7pD3thpItMZPb
      Content-Type: text/plain; charset=UTF-8; name="update.txt"
      Content-Disposition: attachment; filename="update.txt"
      Content-Transfer-Encoding: base64

[encoded data, 103648 characters]

      --------------BDUXmSFXHSA7pD3thpItMZPb
      Content-Type: application/pdf; name="test.pdf"
      Content-Disposition: attachment; filename="test.pdf"
      Content-Transfer-Encoding: base64

[encoded data, 4108 characters]
      MjM0NAolJUVPRgo=
      --------------BDUXmSFXHSA7pD3thpItMZPb
      Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;
      name="test.xlsx"
      Content-Disposition: attachment; filename="test.xlsx"
      Content-Transfer-Encoding: base64

[encoded data, 11613 characters]
      AAoACgCAAgAAexwAAAAA
      --------------BDUXmSFXHSA7pD3thpItMZPb
      Content-Type: text/xml; charset=UTF-8; name="testxml.xml"
      Content-Disposition: attachment; filename="testxml.xml"
      Content-Transfer-Encoding: base64

      PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCFET0NUWVBFIHN1aXRl
      IFNZU1RFTSAiaHR0cDovL3Rlc3RuZy5vcmcvdGVzdG5nLTEuMC5kdGQiID4KCjxzdWl0ZSBu
      YW1lPSJBZmZpbGlhdGUgTmV0d29ya3MiPgoKICAgIDx0ZXN0IG5hbWU9IkFmZmlsaWF0ZSBO
      ZXR3b3JrcyIgZW5hYmxlZD0idHJ1ZSI+CiAgICAgICAgPGNsYXNzZXM+CiAgICAgICAgICAg
      IDxjbGFzcyBuYW1lPSJjb20uY2xpY2tvdXQuYXBpdGVzdGluZy5hZmZOZXR3b3Jrcy5Bd2lu
      VUtUZXN0Ii8+CiAgICAgICAgPC9jbGFzc2VzPgogICAgPC90ZXN0PgoKPC9zdWl0ZT4=
      --------------BDUXmSFXHSA7pD3thpItMZPb
      Content-Type: text/calendar; charset=UTF-8;
      name="=?UTF-8?B?6YCZ5piv5ryi5a2X55qE5LiA5YCL5L6L5a2QLmljcw==?="
      Content-Disposition: attachment;
      filename*0*=UTF-8''%E9%80%99%E6%98%AF%E6%BC%A2%E5%AD%97%E7%9A%84%E4%B8%80;
      filename*1*=%E5%80%8B%E4%BE%8B%E5%AD%90%2E%69%63%73
      Content-Transfer-Encoding: base64

      QkVHSU46VkNBTEVOREFSCk1FVEhPRDpQVUJMSVNIClZFUlNJT046Mi4wClgtV1ItQ0FMTkFN
      RTpIb21lClBST0RJRDotLy9BcHBsZSBJbmMuLy9NYWMgT1MgWCAxMC4xNC42Ly9FTgpYLUFQ
      UExFLUNBTEVOREFSLUNPTE9SOiMzNEFBREMKWC1XUi1USU1FWk9ORTpFdXJvcGUvU2tvcGpl
      CkNBTFNDQUxFOkdSRUdPUklBTgpCRUdJTjpWRVZFTlQKQ1JFQVRFRDoyMDIwMDgyMFQxMjM0
      NThaClVJRDoyQzUwQTg0NS0xMTNBLTQ2ODYtOTBEMi0zRUNFNUIyNzc5MzEKRFRFTkQ7VkFM
      VUU9REFURToyMDIwMTEyMQpUUkFOU1A6VFJBTlNQQVJFTlQKWC1BUFBMRS1UUkFWRUwtQURW
      SVNPUlktQkVIQVZJT1I6QVVUT01BVElDClNVTU1BUlk6VGVzdCBFdmVudApMQVNULU1PRElG
      SUVEOjIwMjAwODIwVDEyMzUxMloKRFRTVEFNUDoyMDIwMDgyMFQxMjM1MTJaCkRUU1RBUlQ7
      VkFMVUU9REFURToyMDIwMTEyMApTRVFVRU5DRTowCkJFR0lOOlZBTEFSTQpYLVdSLUFMQVJN
      VUlEOkZEQTM2MDU1LTExNzQtNDYxNC04Q0FFLTA0NzcxQzczMDRDQwpVSUQ6RkRBMzYwNTUt
      MTE3NC00NjE0LThDQUUtMDQ3NzFDNzMwNENDClRSSUdHRVI6LVBUMTVIClgtQVBQTEUtREVG
      QVVMVC1BTEFSTTpUUlVFCkFUVEFDSDtWQUxVRT1VUkk6QmFzc28KQUNUSU9OOkFVRElPCkVO
      RDpWQUxBUk0KRU5EOlZFVkVOVApFTkQ6VkNBTEVOREFSCg==

      --------------BDUXmSFXHSA7pD3thpItMZPb--
      """
    Then it succeeds
    When user "[user:user]" connects and authenticates IMAP client "1"
    Then IMAP client "1" eventually sees the following messages in "Inbox":
      | from                     | to                   | subject                                |
      | auto.bridge.qa@gmail.com | [user:user]@[domain] | HTML message with multiple attachments |
    And IMAP client "1" eventually sees the following message in "Inbox" with this structure:
      """
      {
        "from": "auto.bridge.qa@gmail.com",
        "to": "[user:user]@[domain]",
        "subject": "HTML message with multiple attachments",
        "content": {
            "content-type": "multipart/mixed",
            "sections": [
                {
                  "content-type": "text/html",
                  "content-type-charset": "utf-8",
                  "transfer-encoding": "quoted-printable",
                  "body-is": "<html>\r\n<head>\r\n\r\n  <meta http-equiv=3D\"content-type\" content=3D\"text/html; charset=3DUTF-8\">\r\n</head>\r\n<body>\r\n  <p>HTML message with multiple attachments<br>\r\n  </p>\r\n</body>\r\n</html>"
                },
                {   
                  "content-type": "text/calendar",
                  "content-type-name": "calendar.ics",
                  "content-disposition": "attachment",
                  "content-disposition-filename": "calendar.ics",
                  "body-is": "bmFtZT0iPT9VVEYtOD9CPzZZQ1o1cGl2NXJ5aTVhMlg1NXFFNUxpQTVZQ0w1TDZMNWEyUUxtbGpj\r\ndz09Pz0iCkNvbnRlbnQtRGlzcG9zaXRpb246IGF0dGFjaG1lbnQ7CmZpbGVuYW1lKjAqPVVURi04\r\nJyclRTklODAlOTklRTYlOTglQUYlRTYlQkMlQTIlRTUlQUQlOTclRTclOUElODQlRTQlQjglODA7\r\nCmZpbGVuYW1lKjEqPSVFNSU4MCU4QiVFNCVCRSU4QiVFNSVBRCU5MCUyRSU2OSU2MyU3MwpDb250\r\nZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiYXNlNjQKClFrVkhTVTQ2VmtOQlRFVk9SRUZTQ2sxRlZF\r\naFBSRHBRVlVKTVNWTklDbFpGVWxOSlQwNDZNaTR3Q2xndFYxSXRRMEZNVGtGTgpSVHBJYjIxbENs\r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NEdFdRVXhWUlQxVlVrazZRbUZ6YzI4S1FVTlVTVTlPT2tGVlJFbFBDa1ZPClJEcFdR\r\nVXhCVWswS1JVNUVPbFpGVmtWT1ZBcEZUa1E2VmtOQlRFVk9SRUZTQ2c9PQo="
                },
                {
                  "content-type": "text/plain",
                  "content-type-name": "update.txt",
                  "content-disposition": "attachment",
                  "content-disposition-filename": "update.txt"
                },
                {
                  "content-type": "text/html",
                  "content-type-name": "index.html",
                  "content-disposition": "attachment",
                  "content-disposition-filename": "index.html",
                  "body-is": "IDwhRE9DVFlQRSBodG1sPg0KPGh0bWw+DQo8aGVhZD4NCjx0aXRsZT5QYWdlIFRpdGxlPC90aXRs\r\nZT4NCjwvaGVhZD4NCjxib2R5Pg0KDQo8aDE+TXkgRmlyc3QgSGVhZGluZzwvaDE+DQo8cD5NeSBm\r\naXJzdCBwYXJhZ3JhcGguPC9wPg0KDQo8L2JvZHk+DQo8L2h0bWw+IA=="
                },
                {   
                  "content-type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
                  "content-type-name": "default.docx",
                  "content-disposition": "attachment",
                  "content-disposition-filename": "default.docx"
                },
                {
                  "content-type": "application/pdf",
                  "content-type-name": "test.pdf",
                  "content-disposition": "attachment",
                  "content-disposition-filename": "test.pdf",
                  "body-is": "JVBERi0xLjUKJeLjz9MKNyAwIG9iago8PAovVHlwZSAvRm9udERlc2NyaXB0b3IKL0ZvbnROYW1l\r\nIC9BcmlhbAovRmxhZ3MgMzIKL0l0YWxpY0FuZ2xlIDAKL0FzY2VudCA5MDUKL0Rlc2NlbnQgLTIx\r\nMAovQ2FwSGVpZ2h0IDcyOAovQXZnV2lkdGggNDQxCi9NYXhXaWR0aCAyNjY1Ci9Gb250V2VpZ2h0\r\nIDQwMAovWEhlaWdodCAyNTAKL0xlYWRpbmcgMzMKL1N0ZW1WIDQ0Ci9Gb250QkJveCBbLTY2NSAt\r\nMjEwIDIwMDAgNzI4XQo+PgplbmRvYmoKOCAwIG9iagpbMjc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IG4NCjAwMDAwMDAwMTUgMDAw\r\nMDAgbg0KMDAwMDAwMDI1MiAwMDAwMCBuDQowMDAwMDAwNjQ3IDAwMDAwIG4NCjAwMDAwMDA3MDMg\r\nMDAwMDAgbg0KMDAwMDAwMDc2MCAwMDAwMCBuDQowMDAwMDAxMzgwIDAwMDAwIG4NCjAwMDAwMDE0\r\nNTMgMDAwMDAgbg0KMDAwMDAwMTUyMyAwMDAwMCBuDQowMDAwMDAyMTI4IDAwMDAwIG4NCnRyYWls\r\nZXIKPDwKL1NpemUgMTYKL1Jvb3QgMSAwIFIKL0luZm8gMTUgMCBSCi9JRCBbPDY2MDhFOTQxN0M1\r\nOUExNkEwNjAzMDgxQzY1MTk1MzNCPiA8RTU2RENDMTkyRjY1RjAwNzVDN0FDMjE2ODYxQjg1MjA+\r\nXQo+PgpzdGFydHhyZWYKMjM0NAolJUVPRgo="
                },
                {
                  "content-type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
                  "content-type-name": "default.xlsx",
                  "content-disposition": "attachment",
                  "content-disposition-filename": "default.xlsx",
                  "body-is": "bmFtZT0idGVzdC54bHN4IgpDb250ZW50LURpc3Bvc2l0aW9uOiBhdHRhY2htZW50OyBmaWxlbmFt\r\nZT0idGVzdC54bHN4IgpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiYXNlNjQKClVFc0RCQlFB\r\nQmdBSUFBQUFJUUJpN3Axb1hnRUFBSkFFQUFBVEFBZ0NXME52Ym5SbGJuUmZWSGx3WlhOZExuaHRi\r\nQ0NpQkFJbwpvQUFDQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB\r\nQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUEKQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB\r\nQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBCkFBQUFBQUFBQUFBQUFB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mNtVXVlRzFzVUVzQkFpMEFGQUFHQUFnQUFBQWgKQUdGSkNSQ0pB\r\nUUFBRVFNQUFCQUFBQUFBQUFBQUFBQUFBQUFBdkJrQUFHUnZZMUJ5YjNCekwyRndjQzU0Yld4UVN3\r\nVUdBQUFBCkFBb0FDZ0NBQWdBQWV4d0FBQUFB"
                },
                {
                  "content-type": "text/xml",
                  "content-type-name": "testxml.xml",
                  "content-disposition": "attachment",
                  "content-disposition-filename": "testxml.xml",
                  "body-is": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCFET0NUWVBFIHN1aXRlIFNZ\r\nU1RFTSAiaHR0cDovL3Rlc3RuZy5vcmcvdGVzdG5nLTEuMC5kdGQiID4KCjxzdWl0ZSBuYW1lPSJB\r\nZmZpbGlhdGUgTmV0d29ya3MiPgoKICAgIDx0ZXN0IG5hbWU9IkFmZmlsaWF0ZSBOZXR3b3JrcyIg\r\nZW5hYmxlZD0idHJ1ZSI+CiAgICAgICAgPGNsYXNzZXM+CiAgICAgICAgICAgIDxjbGFzcyBuYW1l\r\nPSJjb20uY2xpY2tvdXQuYXBpdGVzdGluZy5hZmZOZXR3b3Jrcy5Bd2luVUtUZXN0Ii8+CiAgICAg\r\nICAgPC9jbGFzc2VzPgogICAgPC90ZXN0PgoKPC9zdWl0ZT4="
                },
                {
                  "content-type": "text/calendar",
                  "content-type-name": "invite.ics",
                  "content-disposition": "attachment",
                  "content-disposition-filename": "invite.ics",
                  "body-is": "bmFtZT0iPT9VVEYtOD9CPzZZQ1o1cGl2NXJ5aTVhMlg1NXFFNUxpQTVZQ0w1TDZMNWEyUUxtbGpj\r\ndz09Pz0iCkNvbnRlbnQtRGlzcG9zaXRpb246IGF0dGFjaG1lbnQ7CmZpbGVuYW1lKjAqPVVURi04\r\nJyclRTklODAlOTklRTYlOTglQUYlRTYlQkMlQTIlRTUlQUQlOTclRTclOUElODQlRTQlQjglODA7\r\nCmZpbGVuYW1lKjEqPS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MVEV4TnpRdE5EWXhOQzA0UTBGRkxUQTBOemN4UXpjek1EUkRR\r\nd3BWU1VRNlJrUkJNell3TlRVdApNVEUzTkMwME5qRTBMVGhEUVVVdE1EUTNOekZETnpNd05FTkRD\r\nbFJTU1VkSFJWSTZMVkJVTVRWSUNsZ3RRVkJRVEVVdFJFVkcKUVZWTVZDMUJURUZTVFRwVVVsVkZD\r\na0ZVVkVGRFNEdFdRVXhWUlQxVlVrazZRbUZ6YzI4S1FVTlVTVTlPT2tGVlJFbFBDa1ZPClJEcFdR\r\nVXhCVWswS1JVNUVPbFpGVmtWT1ZBcEZUa1E2VmtOQlRFVk9SRUZTQ2c9PQo="
                }
            ]
        }
      }
      """

  Scenario: HTML message with multiple inline images from External to Internal
    Given external client sends the following message from "auto.bridge.qa@gmail.com" to "[user:user]@[domain]":
      """
      To: <[user:user]@[domain]>
      From: <auto.bridge.qa@gmail.com>
      Subject: HTML message with multiple inline images
      Content-Type: text/html; charset=UTF-8; format=flowed
      Content-Transfer-Encoding: 7bit
      Content-Type: multipart/related;
      boundary="------------GYVnOCNazeQbDIIZB7YPcISL"

      --------------GYVnOCNazeQbDIIZB7YPcISL
      Content-Type: text/html; charset=UTF-8
      Content-Transfer-Encoding: 7bit

      <!DOCTYPE html>
      <html>
      <head>

        <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      </head>
      <body>
        <p>HTML message with multiple <img moz-do-not-send="false"
            src="cid:part1.jEcHoxNo.LmuOjZLM@gmail.com" alt="" width="67"
            height="86"> inline <img moz-do-not-send="false"
            src="cid:part2.iOaB1ao0.Ief5dm8x@gmail.com" alt="" width="121"
            height="63"> images <img moz-do-not-send="false"
            src="cid:part3.LwPp0LQU.unqT8ENd@gmail.com" alt="" width="131"
            height="58">.<br>
        </p>
      </body>
      </html>
      --------------GYVnOCNazeQbDIIZB7YPcISL
      Content-Type: image/svg+xml; name="proton-logo.svg"
      Content-Disposition: inline; filename="proton-logo.svg"
      Content-Id: <part1.jEcHoxNo.LmuOjZLM@gmail.com>
      Content-Transfer-Encoding: base64

      --------------GYVnOCNazeQbDIIZB7YPcISL
      Content-Type: image/jpeg; name="products.jpeg"
      Content-Disposition: inline; filename="products.jpeg"
      Content-Id: <part2.iOaB1ao0.Ief5dm8x@gmail.com>
      Content-Transfer-Encoding: base64

      --------------GYVnOCNazeQbDIIZB7YPcISL
      Content-Type: image/png; name="proton-mail-og.png"
      Content-Disposition: inline; filename="proton-mail-og.png"
      Content-Id: <part3.LwPp0LQU.unqT8ENd@gmail.com>
      Content-Transfer-Encoding: base64

      --------------GYVnOCNazeQbDIIZB7YPcISL--
      """
    Then it succeeds
    When user "[user:user]" connects and authenticates IMAP client "1"
    Then IMAP client "1" eventually sees the following messages in "Inbox":
      | from                     | to                   | subject                                  |
      | auto.bridge.qa@gmail.com | [user:user]@[domain] | HTML message with multiple inline images |
    And IMAP client "1" eventually sees the following message in "Inbox" with this structure:
      """
      {
        "from": "auto.bridge.qa@gmail.com",
        "to": "[user:user]@[domain]",
        "subject": "HTML message with multiple inline images",
        "content": {
          "content-type": "text/html",
          "content-type-charset": "utf-8",
          "transfer-encoding": "quoted-printable",
          "body-is": "--------------GYVnOCNazeQbDIIZB7YPcISL\r\nContent-Type: text/html; charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\n\r\n<html>\r\n<head>\r\n\r\n  <meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\r\n</head>\r\n<body>\r\n  <p>HTML message with multiple <img src=\"cid:part1.jEcHoxNo.LmuOjZLM@gmail.com\" alt=\"\" width=\"67\" height=\"86\"> inline <img src=\"cid:part2.iOaB1ao0.Ief5dm8x@gmail.com\" alt=\"\" width=\"121\" height=\"63\"> images <img src=\"cid:part3.LwPp0LQU.unqT8ENd@gmail.com\" alt=\"\" width=\"131\" height=\"58\">.<br>\r\n  </p>\r\n</body>\r\n</html>\r\n--------------GYVnOCNazeQbDIIZB7YPcISL\r\nContent-Type: image/svg+xml; name=&quot;proton-logo.svg&quot;\r\nContent-Disposition: inline; filename=&quot;proton-logo.svg&quot;\r\nContent-Id:\r\nContent-Transfer-Encoding: base64\r\n\r\n--------------GYVnOCNazeQbDIIZB7YPcISL\r\nContent-Type: image/jpeg; name=&quot;products.jpeg&quot;\r\nContent-Disposition: inline; filename=&quot;products.jpeg&quot;\r\nContent-Id:\r\nContent-Transfer-Encoding: base64\r\n\r\n--------------GYVnOCNazeQbDIIZB7YPcISL\r\nContent-Type: image/png; name=&quot;proton-mail-og.png&quot;\r\nContent-Disposition: inline; filename=&quot;proton-mail-og.png&quot;\r\nContent-Id:\r\nContent-Transfer-Encoding: base64\r\n\r\n--------------GYVnOCNazeQbDIIZB7YPcISL--"
        }
      }
      """

  Scenario: HTML message with a large attachment from External to Internal
    Given external client sends the following message from "auto.bridge.qa@gmail.com" to "[user:user]@[domain]":
      """
      Content-Type: multipart/mixed; boundary="------------2TMh10rgSvZXj0IGAEvI6qYy"
      To: <[user:user]@[domain]>
      From: Bridge Automation <auto.bridge.qa@gmail.com>
      Subject: HTML message with a large attachment

      This is a multi-part message in MIME format.
      --------------2TMh10rgSvZXj0IGAEvI6qYy
      Content-Type: text/html; charset=UTF-8
      Content-Transfer-Encoding: 7bit

      <!DOCTYPE html>
      <html>
      <head>

        <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      </head>
      <body>
        <p>Hello, this is an html message with a large attachment.<br>
        </p>
      </body>
      </html>
      --------------2TMh10rgSvZXj0IGAEvI6qYy
      Content-Type: application/msword; name="testDoc.doc"
      Content-Disposition: attachment; filename="testDoc.doc"
      Content-Transfer-Encoding: base64
      --------------2TMh10rgSvZXj0IGAEvI6qYy--
      """
    Then it succeeds
    When user "[user:user]" connects and authenticates IMAP client "1"
    Then IMAP client "1" eventually sees the following messages in "Inbox":
      | from                     | to                   | subject                               |
      | auto.bridge.qa@gmail.com | [user:user]@[domain] | HTML message with a large attachment |
    And IMAP client "1" eventually sees the following message in "Inbox" with this structure:
      """
       {
        "from": "auto.bridge.qa@gmail.com",
        "to": "[user:user]@[domain]",
        "subject": "HTML message with a large attachment",
        "content": {
            "content-type": "text/html",
            "content-type-charset": "utf-8"
         }
      }
      """