Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

12.4 KB
Raw Blame
<!doctype html>
<html lang="en" xmlns:o="urn:schemas-microsoft-com:office:office">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="x-apple-disable-message-reformatting" />
    <meta
      name="format-detection"
      content="telephone=no, date=no, address=no, email=no"
    />
    <meta name="color-scheme" content="light" />
    <meta name="supported-color-schemes" content="light" />
    <title>Join {{ team_name }} on Macro</title>
    <!--[if mso]>
      <noscript
        ><xml
          ><o:OfficeDocumentSettings
            ><o:PixelsPerInch>96</o:PixelsPerInch
            ><o:AllowPNG /></o:OfficeDocumentSettings></xml
      ></noscript>
    <![endif]-->
    <style>
      @media screen and (max-width: 600px) {
        .email-page {
          padding: 24px 12px !important;
        }
        .email-content {
          padding: 28px 24px !important;
        }
        .email-heading {
          font-size: 26px !important;
          line-height: 34px !important;
        }
        .email-button-table {
          width: 100% !important;
        }
        .email-button {
          display: block !important;
        }
      }
    </style>
  </head>
  <body
    style="
      margin: 0;
      padding: 0;
      width: 100%;
      background-color: #f5f5f4;
      -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
    "
  >
    <div
      style="
        display: none;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        mso-hide: all;
      "
    >
      {% match invitee_plan %}{% when InviteePlan::Premium %}Pro is included:
      {{ team_name }} covers your seat.{% when InviteePlan::Free %}Free to
      join. Macro brings your team's documents, tasks, and conversations
      together.{% endmatch %}
    </div>
    <table
      role="presentation"
      width="100%"
      cellpadding="0"
      cellspacing="0"
      bgcolor="#f5f5f4"
      style="
        font-family: Arial, Helvetica, sans-serif;
        color: #222222;
        mso-table-lspace: 0pt;
        mso-table-rspace: 0pt;
      "
    >
      <tr>
        <td class="email-page" align="center" style="padding: 48px 20px">
          <!--[if mso]><table role="presentation" width="560" cellpadding="0" cellspacing="0"><tr><td><![endif]-->
          <table
            role="presentation"
            width="100%"
            cellpadding="0"
            cellspacing="0"
            style="max-width: 560px; table-layout: fixed"
          >
            <tr>
              <td
                class="email-content"
                bgcolor="#ffffff"
                style="
                  padding: 36px 40px 40px;
                  border: 1px solid #e7e7e5;
                  border-radius: 12px;
                  overflow-wrap: break-word;
                  word-wrap: break-word;
                "
              >
                <table
                  role="presentation"
                  cellpadding="0"
                  cellspacing="0"
                  style="margin-bottom: 36px"
                >
                  <tr>
                    <td width="54" style="vertical-align: middle">
                      <a href="https://macro.com" style="text-decoration: none"
                        ><img
                          src="https://static-file-service.macro.com/file/b911aba9-94a6-435c-aa16-8404739f13b0"
                          width="54"
                          height="36"
                          alt="Macro"
                          style="
                            display: block;
                            border: 0;
                            background-color: #ffffff;
                            -ms-interpolation-mode: bicubic;
                          "
                      /></a>
                    </td>
                  </tr>
                </table>
                <h1
                  class="email-heading"
                  style="
                    margin: 0 0 16px;
                    font-size: 28px;
                    line-height: 36px;
                    font-weight: 600;
                    letter-spacing: -0.5px;
                    color: #222222;
                  "
                >
                  Join {{ team_name }} on Macro
                </h1>
                {% if let Some(url) = sender_profile_picture_url %}
                <table
                  role="presentation"
                  cellpadding="0"
                  cellspacing="0"
                  style="margin: 24px 0 16px"
                >
                  <tr>
                    <td>
                      <img
                        src="{{ url }}"
                        width="40"
                        height="40"
                        alt=""
                        style="
                          display: block;
                          border: 0;
                          border-radius: 20px;
                          object-fit: cover;
                        "
                      />
                    </td>
                  </tr>
                </table>
                {% endif %}
                <p
                  style="
                    margin: 0 0 20px;
                    font-size: 16px;
                    line-height: 26px;
                    color: #525252;
                  "
                >
                  {% if let Some(name) = self.inviter_display_name() -%}
                  <strong style="color: #222222">{{ name }}</strong>
                  ({{ self.inviter_email() }})
                  {%- else -%}
                  <strong style="color: #222222">{{ self.inviter_email() }}</strong>
                  {%- endif %}
                  invited you to the
                  <strong style="color: #222222">{{ team_name }}</strong> team.
                  Macro brings your documents, tasks, and conversations
                  together in one place.
                </p>
                {% if is_agent %}
                <p
                  style="
                    margin: 0 0 24px;
                    font-size: 16px;
                    line-height: 24px;
                    color: #55534e;
                  "
                >
                  This invite is for an AI agent. Open the link below and sign
                  in with this address. Macro shows your SDK token once you
                  have verified the emailed code. The SDK guide is at
                  <a href="https://sdk.macro.com" style="color: #222222"
                    >sdk.macro.com</a
                  >.
                </p>
                {% endif %}
                {% if let Some(r) = role %}
                <p
                  style="
                    margin: 0 0 20px;
                    font-size: 16px;
                    line-height: 26px;
                    color: #525252;
                  "
                >
                  Your role will be <strong>{{ r }}</strong>.
                </p>
                {% endif %}
                <table
                  role="presentation"
                  width="100%"
                  cellpadding="0"
                  cellspacing="0"
                  style="table-layout: fixed; margin: 24px 0 0"
                >
                  <tr>
                    <td
                      style="
                        padding: 16px 20px;
                        border-left: 2px solid #222222;
                        background-color: #f5f5f4;
                      "
                    >
                      {% match invitee_plan %}
                      {% when InviteePlan::Premium %}
                      <p
                        style="
                          margin: 0 0 4px;
                          font-size: 16px;
                          line-height: 24px;
                          font-weight: 600;
                          color: #222222;
                        "
                      >
                        Pro is included
                      </p>
                      <p
                        style="
                          margin: 0;
                          font-size: 15px;
                          line-height: 24px;
                          color: #525252;
                        "
                      >
                        {{ team_name }} covers your seat, so you get every AI
                        model and agent at no cost to you.
                      </p>
                      {% when InviteePlan::Free %}
                      <p
                        style="
                          margin: 0 0 4px;
                          font-size: 16px;
                          line-height: 24px;
                          font-weight: 600;
                          color: #222222;
                        "
                      >
                        Free to join
                      </p>
                      <p
                        style="
                          margin: 0;
                          font-size: 15px;
                          line-height: 24px;
                          color: #525252;
                        "
                      >
                        There's nothing to pay. Accept the invite to start
                        working with {{ team_name }} in Macro.
                      </p>
                      {% endmatch %}
                    </td>
                  </tr>
                </table>
                <table
                  class="email-button-table"
                  role="presentation"
                  cellpadding="0"
                  cellspacing="0"
                  style="margin: 28px 0 12px; max-width: 100%"
                >
                  <tr>
                    <td
                      bgcolor="#222222"
                      style="
                        border-radius: 6px;
                        text-align: center;
                        mso-padding-alt: 14px 24px;
                      "
                    >
                      <a
                        class="email-button"
                        href="{{ invite_url() }}"
                        style="
                          display: inline-block;
                          padding: 14px 24px;
                          border: 1px solid #222222;
                          border-radius: 6px;
                          color: #ffffff;
                          background-color: #222222;
                          font-size: 15px;
                          line-height: 20px;
                          font-weight: 600;
                          text-decoration: none;
                          mso-padding-alt: 0;
                        "
                        >{{ join_label() }}</a
                      >
                    </td>
                  </tr>
                </table>
                <p
                  style="
                    margin: 0;
                    font-size: 13px;
                    line-height: 20px;
                    color: #737373;
                  "
                >
                  Sign in or sign up with this email address to accept.
                </p>
                <p
                  style="
                    margin: 24px 0 0;
                    padding-top: 20px;
                    border-top: 1px solid #e7e7e5;
                    font-size: 13px;
                    line-height: 20px;
                    color: #737373;
                  "
                >
                  Button not working? Paste this link into your browser:<br />
                  <a
                    href="{{ invite_url() }}"
                    style="
                      color: #525252;
                      text-decoration: underline;
                      word-break: break-all;
                    "
                    >{{ invite_url() }}</a
                  >
                </p>
              </td>
            </tr>
            <tr>
              <td
                style="
                  padding: 24px 16px 0;
                  text-align: center;
                  font-size: 12px;
                  line-height: 20px;
                  color: #737373;
                "
              >
                Not expecting this invite? You can ignore this email.<br />
                Need a hand?
                <a
                  href="mailto:[email protected]"
                  style="color: #525252; text-decoration: underline"
                  >Contact support</a
                >
              </td>
            </tr>
          </table>
          <!--[if mso]></td></tr></table><![endif]-->
        </td>
      </tr>
    </table>
  </body>
</html>