Skip to content

armgit / plane

Public Imported from GitHub
0

🔥🔥🔥 Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

[WEB - 1749] chore: send email when a user is added to the project (#4952)

Nikhild1ec83039ced
diff --git a/apiserver/plane/app/views/project/member.py b/apiserver/plane/app/views/project/member.py
index 187dfc8d05..9ecb512d3f 100644
--- a/apiserver/plane/app/views/project/member.py
+++ b/apiserver/plane/app/views/project/member.py
@@ -24,6 +24,8 @@ from plane.db.models import (
TeamMember,
IssueProperty,
)
+from plane.bgtasks.project_add_user_email_task import project_add_user_email
+from plane.utils.host import base_host
class ProjectMemberViewSet(BaseViewSet):
@@ -64,33 +66,29 @@ class ProjectMemberViewSet(BaseViewSet):
)
def create(self, request, slug, project_id):
+ # Get the list of members to be added to the project and their roles i.e. the user_id and the role
members = request.data.get("members", [])
# get the project
project = Project.objects.get(pk=project_id, workspace__slug=slug)
+ # Check if the members array is empty
if not len(members):
return Response(
{"error": "Atleast one member is required"},
status=status.HTTP_400_BAD_REQUEST,
)
+
+ # Initialize the bulk arrays
bulk_project_members = []
bulk_issue_props = []
- project_members = (
- ProjectMember.objects.filter(
- workspace__slug=slug,
- member_id__in=[member.get("member_id") for member in members],
- )
- .values("member_id", "sort_order")
- .order_by("sort_order")
- )
-
- bulk_project_members = []
+ # Create a dictionary of the member_id and their roles
member_roles = {
member.get("member_id"): member.get("role") for member in members
}
- # Update roles in the members array based on the member_roles dictionary
+
+ # Update roles in the members array based on the member_roles dictionary and set is_active to True
for project_member in ProjectMember.objects.filter(
project_id=project_id,
member_id__in=[member.get("member_id") for member in members],
@@ -104,13 +102,27 @@ class ProjectMemberViewSet(BaseViewSet):
bulk_project_members, ["is_active", "role"], batch_size=100
)
+ # Get the list of project members of the requested workspace with the given slug
+ project_members = (
+ ProjectMember.objects.filter(
+ workspace__slug=slug,
+ member_id__in=[member.get("member_id") for member in members],
+ )
+ .values("member_id", "sort_order")
+ .order_by("sort_order")
+ )
+
+ # Loop through requested members
for member in members:
+
+ # Get the sort orders of the member
sort_order = [
project_member.get("sort_order")
for project_member in project_members
if str(project_member.get("member_id"))
== str(member.get("member_id"))
]
+ # Create a new project member
bulk_project_members.append(
ProjectMember(
member_id=member.get("member_id"),
@@ -122,6 +134,7 @@ class ProjectMemberViewSet(BaseViewSet):
),
)
)
+ # Create a new issue property
bulk_issue_props.append(
IssueProperty(
user_id=member.get("member_id"),
@@ -130,6 +143,7 @@ class ProjectMemberViewSet(BaseViewSet):
)
)
+ # Bulk create the project members and issue properties
project_members = ProjectMember.objects.bulk_create(
bulk_project_members,
batch_size=10,
@@ -144,7 +158,18 @@ class ProjectMemberViewSet(BaseViewSet):
project_id=project_id,
member_id__in=[member.get("member_id") for member in members],
)
+ # Send emails to notify the users
+ [
+ project_add_user_email.delay(
+ base_host(request=request, is_app=True),
+ project_member.id,
+ request.user.id,
+ )
+ for project_member in project_members
+ ]
+ # Serialize the project members
serializer = ProjectMemberRoleSerializer(project_members, many=True)
+ # Return the serialized data
return Response(serializer.data, status=status.HTTP_201_CREATED)
def list(self, request, slug, project_id):
diff --git a/apiserver/plane/bgtasks/project_add_user_email_task.py b/apiserver/plane/bgtasks/project_add_user_email_task.py
new file mode 100644
index 0000000000..c8308465a1
--- /dev/null
+++ b/apiserver/plane/bgtasks/project_add_user_email_task.py
@@ -0,0 +1,87 @@
+# Python imports
+import logging
+
+# Third party imports
+from celery import shared_task
+
+# Third party imports
+from django.core.mail import EmailMultiAlternatives, get_connection
+from django.template.loader import render_to_string
+from django.utils.html import strip_tags
+
+
+# Module imports
+from plane.license.utils.instance_value import get_email_configuration
+from plane.utils.exception_logger import log_exception
+from plane.db.models import ProjectMember
+from plane.db.models import User
+
+
+@shared_task
+def project_add_user_email(current_site, project_member_id, invitor_id):
+ try:
+ # Get the invitor
+ invitor = User.objects.get(pk=invitor_id)
+ inviter_first_name = invitor.first_name
+ # Get the project member
+ project_member = ProjectMember.objects.get(pk=project_member_id)
+ # Get the project member details
+ project_name = project_member.project.name
+ workspace_name = project_member.workspace.name
+ member_email = project_member.member.email
+ project_url = f"{current_site}/{project_member.workspace.slug}/projects/{project_member.project_id}/issues"
+ # set the context
+ context = {
+ "project_name": project_name,
+ "workspace_name": workspace_name,
+ "email": member_email,
+ "inviter_first_name": inviter_first_name,
+ "project_url": project_url,
+ }
+
+ # Get the email configuration
+ (
+ EMAIL_HOST,
+ EMAIL_HOST_USER,
+ EMAIL_HOST_PASSWORD,
+ EMAIL_PORT,
+ EMAIL_USE_TLS,
+ EMAIL_USE_SSL,
+ EMAIL_FROM,
+ ) = get_email_configuration()
+
+ # Set the subject
+ subject = "You have been invited to a Plane project"
+
+ # Render the email template
+ html_content = render_to_string(
+ "emails/notifications/project_addition.html", context
+ )
+ text_content = strip_tags(html_content)
+ # Initialize the connection
+ connection = get_connection(
+ host=EMAIL_HOST,
+ port=int(EMAIL_PORT),
+ username=EMAIL_HOST_USER,
+ password=EMAIL_HOST_PASSWORD,
+ use_tls=EMAIL_USE_TLS == "1",
+ use_ssl=EMAIL_USE_SSL == "1",
+ )
+ # Send the email
+ msg = EmailMultiAlternatives(
+ subject=subject,
+ body=text_content,
+ from_email=EMAIL_FROM,
+ to=[member_email],
+ connection=connection,
+ )
+ # Attach the html content
+ msg.attach_alternative(html_content, "text/html")
+ # Send the email
+ msg.send()
+ # Log the success
+ logging.getLogger("plane").info("Email sent successfully.")
+ return
+ except Exception as e:
+ log_exception(e)
+ return
diff --git a/apiserver/templates/emails/notifications/project_addition.html b/apiserver/templates/emails/notifications/project_addition.html
new file mode 100644
index 0000000000..ccf0f7a953
--- /dev/null
+++ b/apiserver/templates/emails/notifications/project_addition.html
@@ -0,0 +1,1591 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:v="urn:schemas-microsoft-com:vml"
+ xmlns:o="urn:schemas-microsoft-com:office:office"
+>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+ <meta name="format-detection" content="telephone=no" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>You are have been invited to a Plane project</title>
+ <style type="text/css" emogrify="no">
+ #outlook a {
+ padding: 0;
+ }
+ .ExternalClass {
+ width: 100%;
+ }
+ .ExternalClass,
+ .ExternalClass p,
+ .ExternalClass span,
+ .ExternalClass font,
+ .ExternalClass td,
+ .ExternalClass div {
+ line-height: 100%;
+ }
+ table td {
+ border-collapse: collapse;
+ mso-line-height-rule: exactly;
+ }
+ .editable.image {
+ font-size: 0 !important;
+ line-height: 0 !important;
+ }
+ .nl2go_preheader {
+ display: none !important;
+ mso-hide: all !important;
+ mso-line-height-rule: exactly;
+ visibility: hidden !important;
+ line-height: 0px !important;
+ font-size: 0px !important;
+ }
+ body {
+ width: 100% !important;
+ -webkit-text-size-adjust: 100%;
+ -ms-text-size-adjust: 100%;
+ margin: 0;
+ padding: 0;
+ }
+ img {
+ outline: none;
+ text-decoration: none;
+ -ms-interpolation-mode: bicubic;
+ }
+ a img {
+ border: none;
+ }
+ table {
+ border-collapse: collapse;
+ mso-table-lspace: 0pt;
+ mso-table-rspace: 0pt;
+ }
+ th {
+ font-weight: normal;
+ text-align: left;
+ }
+ *[class="gmail-fix"] {
+ display: none !important;
+ }
+ </style>
+ <style type="text/css" emogrify="no">
+ @media (max-width: 600px) {
+ .gmx-killpill {
+ content: " \03D1";
+ }
+ }
+ </style>
+ <style type="text/css" emogrify="no">
+ @media (max-width: 600px) {
+ .gmx-killpill {
+ content: " \03D1";
+ }
+ .r0-o {
+ border-style: solid !important;
+ margin: 0 auto 0 auto !important;
+ width: 320px !important;
+ }
+ .r1-i {
+ background-color: #ffffff !important;
+ }
+ .r2-c {
+ box-sizing: border-box !important;
+ text-align: center !important;
+ valign: top !important;
+ width: 100% !important;
+ }
+ .r3-o {
+ border-style: solid !important;
+ margin: 0 auto 0 auto !important;
+ width: 100% !important;
+ }
+ .r4-i {
+ padding-bottom: 20px !important;
+ padding-left: 15px !important;
+ padding-right: 15px !important;
+ padding-top: 20px !important;
+ }
+ .r5-c {
+ box-sizing: border-box !important;
+ display: block !important;
+ valign: top !important;
+ width: 100% !important;
+ }
+ .r6-o {
+ border-style: solid !important;
+ width: 100% !important;
+ }
+ .r7-i {
+ padding-left: 0px !important;
+ padding-right: 0px !important;
+ }
+ .r8-c {
+ box-sizing: border-box !important;
+ text-align: left !important;
+ valign: top !important;
+ width: 100% !important;
+ }
+ .r9-o {
+ border-style: solid !important;
+ margin: 0 auto 0 0 !important;
+ width: 100% !important;
+ }
+ .r10-i {
+ padding-bottom: 10px !important;
+ padding-left: 0px !important;
+ padding-right: 0px !important;
+ padding-top: 10px !important;
+ }
+ .r11-c {
+ box-sizing: border-box !important;
+ padding-bottom: 15px !important;
+ padding-top: 15px !important;
+ text-align: left !important;
+ valign: top !important;
+ width: 100% !important;
+ }
+ .r12-c {
+ box-sizing: border-box !important;
+ padding: 0 !important;
+ text-align: center !important;
+ valign: top !important;
+ width: 100% !important;
+ }
+ .r13-o {
+ border-style: solid !important;
+ margin: 0 auto 0 auto !important;
+ margin-bottom: 15px !important;
+ margin-top: 15px !important;
+ width: 100% !important;
+ }
+ .r14-i {
+ padding: 0 !important;
+ text-align: center !important;
+ }
+ .r15-r {
+ background-color: #3f76ff !important;
+ border-radius: 4px !important;
+ border-width: 0px !important;
+ box-sizing: border-box;
+ height: initial !important;
+ padding: 0 !important;
+ padding-bottom: 12px !important;
+ padding-top: 12px !important;
+ text-align: center !important;
+ width: 100% !important;
+ }
+ .r16-i {
+ padding-bottom: 0px !important;
+ padding-left: 15px !important;
+ padding-right: 15px !important;
+ padding-top: 0px !important;
+ }
+ .r17-c {
+ box-sizing: border-box !important;
+ padding-bottom: 5px !important;
+ padding-top: 5px !important;
+ text-align: center !important;
+ width: 100% !important;
+ }
+ .r18-i {
+ padding-bottom: 15px !important;
+ padding-left: 15px !important;
+ padding-right: 15px !important;
+ padding-top: 15px !important;
+ }
+ .r19-o {
+ border-bottom-color: #efefef !important;
+ border-bottom-width: 2px !important;
+ border-left-color: #efefef !important;
+ border-left-width: 2px !important;
+ border-right-color: #efefef !important;
+ border-right-width: 2px !important;
+ border-style: solid !important;
+ border-top-color: #efefef !important;
+ border-top-width: 2px !important;
+ margin: 0 auto 0 0 !important;
+ width: 100% !important;
+ }
+ .r20-i {
+ padding-bottom: 5px !important;
+ padding-left: 5px !important;
+ padding-right: 5px !important;
+ padding-top: 5px !important;
+ text-align: left !important;
+ }
+ .r21-i {
+ padding-bottom: 5px !important;
+ padding-left: 15px !important;
+ padding-right: 15px !important;
+ padding-top: 5px !important;
+ }
+ .r22-c {
+ box-sizing: border-box !important;
+ text-align: center !important;
+ width: 100% !important;
+ }
+ .r23-c {
+ box-sizing: border-box !important;
+ width: 100% !important;
+ }
+ .r24-i {
+ font-size: 0px !important;
+ padding-bottom: 10px !important;
+ padding-left: 65px !important;
+ padding-right: 65px !important;
+ padding-top: 10px !important;
+ }
+ .r25-c {
+ box-sizing: border-box !important;
+ width: 32px !important;
+ }
+ .r26-o {
+ border-style: solid !important;
+ margin-right: 8px !important;
+ width: 32px !important;
+ }
+ .r27-i {
+ padding-bottom: 5px !important;
+ padding-top: 5px !important;
+ }
+ .r28-o {
+ border-style: solid !important;
+ margin-right: 0px !important;
+ width: 32px !important;
+ }
+ .r29-i {
+ padding-bottom: 0px !important;
+ padding-top: 5px !important;
+ text-align: center !important;
+ }
+ body {
+ -webkit-text-size-adjust: none;
+ }
+ .nl2go-responsive-hide {
+ display: none;
+ }
+ .nl2go-body-table {
+ min-width: unset !important;
+ }
+ .mobshow {
+ height: auto !important;
+ overflow: visible !important;
+ max-height: unset !important;
+ visibility: visible !important;
+ border: none !important;
+ }
+ .resp-table {
+ display: inline-table !important;
+ }
+ .magic-resp {
+ display: table-cell !important;
+ }
+ }
+ </style>
+ <style type="text/css">
+ p,
+ h1,
+ h2,
+ h3,
+ h4,
+ ol,
+ ul,
+ li {
+ margin: 0;
+ }
+ a,
+ a:link {
+ color: #3f76ff;
+ text-decoration: underline;
+ }
+ .nl2go-default-textstyle {
+ color: #3b3f44;
+ font-family: georgia, serif;
+ font-size: 16px;
+ line-height: 1.5;
+ word-break: break-word;
+ }
+ .default-button {
+ color: #ffffff;
+ font-family: georgia, serif;
+ font-size: 16px;
+ font-style: normal;
+ font-weight: normal;
+ line-height: 1.15;
+ text-decoration: none;
+ word-break: break-word;
+ }
+ .default-heading1 {
+ color: #1f2d3d;
+ font-family: arial, helvetica, sans-serif;
+ font-size: 36px;
+ word-break: break-word;
+ }
+ .default-heading2 {
+ color: #1f2d3d;
+ font-family: arial, helvetica, sans-serif;
+ font-size: 32px;
+ word-break: break-word;
+ }
+ .default-heading3 {
+ color: #1f2d3d;
+ font-family: arial, helvetica, sans-serif;
+ font-size: 24px;
+ word-break: break-word;
+ }
+ .default-heading4 {
+ color: #1f2d3d;
+ font-family: arial, helvetica, sans-serif;
+ font-size: 18px;
+ word-break: break-word;
+ }
+ a[x-apple-data-detectors] {
+ color: inherit !important;
+ text-decoration: inherit !important;
+ font-size: inherit !important;
+ font-family: inherit !important;
+ font-weight: inherit !important;
+ line-height: inherit !important;
+ }
+ .no-show-for-you {
+ border: none;
+ display: none;
+ float: none;
+ font-size: 0;
+ height: 0;
+ line-height: 0;
+ max-height: 0;
+ mso-hide: all;
+ overflow: hidden;
+ table-layout: fixed;
+ visibility: hidden;
+ width: 0;
+ }
+ </style>
+ <!--[if mso
+ ]><xml>
+ <o:OfficeDocumentSettings>
+ <o:AllowPNG /> <o:PixelsPerInch>96</o:PixelsPerInch>
+ </o:OfficeDocumentSettings>
+ </xml><!
+ [endif]-->
+ <style type="text/css">
+ a:link {
+ color: #3f76ff;
+ text-decoration: underline;
+ }
+ </style>
+ </head>
+ <body
+ bgcolor="#ffffff"
+ text="#3b3f44"
+ link="#3f76ff"
+ yahoo="fix"
+ style="background-color: #ffffff"
+ >
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ class="nl2go-body-table"
+ width="100%"
+ style="background-color: #ffffff; width: 100%"
+ >
+ <tr>
+ <td>
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="600"
+ align="center"
+ class="r0-o"
+ style="table-layout: fixed; width: 600px"
+ >
+ <tr>
+ <td valign="top" class="r1-i" style="background-color: #ffffff">
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="100%"
+ align="center"
+ class="r3-o"
+ style="table-layout: fixed; width: 100%"
+ >
+ <tr>
+ <td
+ class="r4-i"
+ style="padding-bottom: 20px; padding-top: 20px"
+ >
+ <table
+ width="100%"
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ >
+ <tr>
+ <th
+ width="100%"
+ valign="top"
+ class="r5-c"
+ style="font-weight: normal"
+ >
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="100%"
+ class="r6-o"
+ style="table-layout: fixed; width: 100%"
+ >
+ <tr>
+ <td
+ valign="top"
+ class="r7-i"
+ style="
+ padding-left: 10px;
+ padding-right: 10px;
+ "
+ >
+ <table
+ width="100%"
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ >
+ <tr>
+ <td class="r8-c" align="left">
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="150"
+ class="r9-o"
+ style="
+ table-layout: fixed;
+ width: 150px;
+ "
+ >
+ <tr>
+ <td
+ style="
+ font-size: 0px;
+ line-height: 0px;
+ "
+ >
+ <img
+ src="https://img.mailinblue.com/5942152/images/content_library/original/64708f00b503b149db7ff135.png"
+ width="150"
+ border="0"
+ style="
+ display: block;
+ width: 100%;
+ "
+ />
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="100%"
+ align="center"
+ class="r3-o"
+ style="table-layout: fixed; width: 100%"
+ >
+ <tr>
+ <td
+ class="r10-i"
+ style="padding-bottom: 10px; padding-top: 10px"
+ >
+ <table
+ width="100%"
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ >
+ <tr>
+ <th
+ width="100%"
+ valign="top"
+ class="r5-c"
+ style="font-weight: normal"
+ >
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="100%"
+ class="r6-o"
+ style="table-layout: fixed; width: 100%"
+ >
+ <tr>
+ <td
+ valign="top"
+ class="r7-i"
+ style="
+ padding-left: 15px;
+ padding-right: 15px;
+ "
+ >
+ <table
+ width="100%"
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ >
+ <tr>
+ <td
+ class="r11-c nl2go-default-textstyle"
+ align="left"
+ style="
+ color: #3b3f44;
+ font-family: georgia, serif;
+ font-size: 16px;
+ word-break: break-word;
+ line-height: 1.5;
+ padding-bottom: 15px;
+ padding-top: 15px;
+ text-align: left;
+ valign: top;
+ "
+ >
+ <div>
+ <h2
+ class="default-heading2"
+ style="
+ color: #1f2d3d;
+ font-family: arial, helvetica,
+ sans-serif;
+ font-size: 32px;
+ -webkit-text-stroke-width: 0px;
+ font-style: normal;
+ letter-spacing: normal;
+ margin: 0px;
+ orphans: 2;
+ text-decoration-style: initial;
+ text-decoration-thickness: initial;
+ text-indent: 0px;
+ text-transform: none;
+ white-space: normal;
+ widows: 2;
+ word-break: break-word;
+ word-spacing: 0px;
+ "
+ >
+ You've been invited to a Plane
+ project.
+ </h2>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td
+ class="r11-c nl2go-default-textstyle"
+ align="left"
+ style="
+ color: #3b3f44;
+ font-family: georgia, serif;
+ font-size: 16px;
+ line-height: 1.5;
+ word-break: break-word;
+ padding-bottom: 15px;
+ padding-top: 15px;
+ text-align: left;
+ valign: top;
+ "
+ >
+ <div>
+ <p
+ style="
+ -webkit-text-stroke-width: 0px;
+ font-style: normal;
+ letter-spacing: normal;
+ margin: 0px;
+ orphans: 2;
+ text-decoration-style: initial;
+ text-decoration-thickness: initial;
+ text-indent: 0px;
+ text-transform: none;
+ white-space: normal;
+ widows: 2;
+ word-break: break-word;
+ word-spacing: 0px;
+ "
+ >
+ <span
+ style="
+ font-family: Georgia;
+ font-size: 17px;
+ "
+ >{{inviter_first_name}} has
+ invited you to work with them in
+  {{project_name}} in the workspace
+ {{workspace_name}} on Plane.</span
+ >
+ </p>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td
+ class="r12-c"
+ align="center"
+ style="
+ align: center;
+ padding-bottom: 15px;
+ padding-top: 15px;
+ valign: top;
+ "
+ >
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="285"
+ class="r13-o"
+ style="
+ background-color: #3f76ff;
+ border-collapse: separate;
+ border-color: #3f76ff;
+ border-radius: 4px;
+ border-style: solid;
+ border-width: 0px;
+ table-layout: fixed;
+ width: 285px;
+ "
+ >
+ <tr>
+ <td
+ height="18"
+ align="center"
+ valign="top"
+ class="r14-i nl2go-default-textstyle"
+ style="
+ word-break: break-word;
+ background-color: #3f76ff;
+ border-radius: 4px;
+ color: #ffffff;
+ font-family: georgia, serif;
+ font-size: 16px;
+ font-style: normal;
+ line-height: 1.15;
+ padding-bottom: 12px;
+ padding-top: 12px;
+ text-align: center;
+ "
+ >
+ <a
+ href="{{project_url}}"
+ class="r15-r default-button"
+ target="_blank"
+ data-btn="1"
+ style="
+ font-style: normal;
+ font-weight: normal;
+ line-height: 1.15;
+ text-decoration: none;
+ word-break: break-word;
+ word-wrap: break-word;
+ display: block;
+ -webkit-text-size-adjust: none;
+ color: #ffffff;
+ font-family: georgia, serif;
+ font-size: 16px;
+ "
+ >
+ <span>Go to project</span></a
+ >
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="100%"
+ align="center"
+ class="r3-o"
+ style="table-layout: fixed; width: 100%"
+ >
+ <tr>
+ <td class="r16-i">
+ <table
+ width="100%"
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ >
+ <tr>
+ <th
+ width="100%"
+ valign="top"
+ class="r5-c"
+ style="font-weight: normal"
+ >
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="100%"
+ class="r6-o"
+ style="table-layout: fixed; width: 100%"
+ >
+ <tr>
+ <td
+ valign="top"
+ class="r7-i"
+ style="
+ padding-left: 15px;
+ padding-right: 15px;
+ "
+ >
+ <table
+ width="100%"
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ >
+ <tr>
+ <td
+ class="r17-c"
+ align="center"
+ style="
+ padding-bottom: 5px;
+ padding-top: 5px;
+ "
+ >
+ <table
+ width="100%"
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ height="1"
+ style="
+ border-top-style: solid;
+ background-clip: border-box;
+ border-top-color: #efefef;
+ border-top-width: 1px;
+ font-size: 1px;
+ line-height: 1px;
+ "
+ >
+ <tr>
+ <td
+ height="0"
+ style="
+ font-size: 0px;
+ line-height: 0px;
+ "
+ >
+ ­
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="100%"
+ align="center"
+ class="r3-o"
+ style="table-layout: fixed; width: 100%"
+ >
+ <tr>
+ <td
+ class="r18-i"
+ style="padding-bottom: 15px; padding-top: 15px"
+ >
+ <table
+ width="100%"
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ >
+ <tr>
+ <th
+ width="100%"
+ valign="top"
+ class="r5-c"
+ style="font-weight: normal"
+ >
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="100%"
+ class="r6-o"
+ style="table-layout: fixed; width: 100%"
+ >
+ <tr>
+ <td
+ valign="top"
+ class="r7-i"
+ style="
+ padding-left: 15px;
+ padding-right: 15px;
+ "
+ >
+ <table
+ width="100%"
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ >
+ <tr>
+ <td class="r8-c" align="left">
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="100%"
+ class="r19-o"
+ style="
+ table-layout: fixed;
+ width: 100%;
+ "
+ >
+ <tr class="nl2go-responsive-hide">
+ <td
+ height="2"
+ width="2"
+ style="
+ font-size: 2px;
+ line-height: 2px;
+ background-color: #efefef;
+ "
+ >
+ ­
+ </td>
+ <td
+ height="2"
+ style="
+ font-size: 2px;
+ line-height: 2px;
+ background-color: #efefef;
+ "
+ >
+ ­
+ </td>
+ <td
+ height="2"
+ width="2"
+ style="
+ font-size: 2px;
+ line-height: 2px;
+ background-color: #efefef;
+ "
+ >
+ ­
+ </td>
+ </tr>
+ <tr>
+ <td
+ class="nl2go-responsive-hide"
+ width="2"
+ style="
+ font-size: 0px;
+ line-height: 1px;
+ background-color: #efefef;
+ "
+ >
+ ­
+ </td>
+ <td
+ align="left"
+ valign="top"
+ class="r20-i nl2go-default-textstyle"
+ style="
+ color: #3b3f44;
+ font-family: georgia, serif;
+ font-size: 16px;
+ word-break: break-word;
+ line-height: 1.5;
+ padding-bottom: 5px;
+ padding-left: 5px;
+ padding-right: 5px;
+ padding-top: 5px;
+ text-align: left;
+ "
+ >
+ <div>
+ <p style="margin: 0">
+ <span style="font-size: 13px"
+ >Despite our popularity, we
+ are humbly early-stage. We
+ are shipping fast, so please
+ reach out to us with feature
+ requests, major and minor
+ nits, and anything else you
+ find missing. We read every </span
+ ><a
+ href="https://discord.com/channels/1031547764020084846/1094927053867995176"
+ title="Plane Support on Discod"
+ target="_blank"
+ style="
+ color: #3f76ff;
+ text-decoration: underline;
+ "
+ ><span
+ style="font-size: 13px"
+ >message</span
+ ></a
+ ><span style="font-size: 13px"
+ >, </span
+ ><a
+ href="http://twitter.com/planepowers"
+ title="@planepowers"
+ target="_blank"
+ style="
+ color: #3f76ff;
+ text-decoration: underline;
+ "
+ ><span
+ style="font-size: 13px"
+ >tweet</span
+ ></a
+ ><span style="font-size: 13px"
+ >, and </span
+ ><a
+ href="https://github.com/makeplane/plane/pulls"
+ title="Plane's GitHub conversations"
+ target="_blank"
+ style="
+ color: #3f76ff;
+ text-decoration: underline;
+ "
+ ><span
+ style="font-size: 13px"
+ >conversation</span
+ ></a
+ ><span
+ style="font-size: 13px"
+ >
+ and update </span
+ ><a
+ href="https://plane.sh/plane/0b170a1c-0e55-47cb-9307-ea49a05672b5?board=kanban"
+ title="Plane's roadmap"
+ target="_blank"
+ style="
+ color: #3f76ff;
+ text-decoration: underline;
+ "
+ ><span
+ style="font-size: 13px"
+ >our public roadmap</span
+ ></a
+ ><span style="font-size: 13px"
+ >.</span
+ >
+ </p>
+ </div>
+ </td>
+ <td
+ class="nl2go-responsive-hide"
+ width="2"
+ style="
+ font-size: 0px;
+ line-height: 1px;
+ background-color: #efefef;
+ "
+ >
+ ­
+ </td>
+ </tr>
+ <tr class="nl2go-responsive-hide">
+ <td
+ height="2"
+ width="2"
+ style="
+ font-size: 2px;
+ line-height: 2px;
+ background-color: #efefef;
+ "
+ >
+ ­
+ </td>
+ <td
+ height="2"
+ style="
+ font-size: 2px;
+ line-height: 2px;
+ background-color: #efefef;
+ "
+ >
+ ­
+ </td>
+ <td
+ height="2"
+ width="2"
+ style="
+ font-size: 2px;
+ line-height: 2px;
+ background-color: #efefef;
+ "
+ >
+ ­
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="100%"
+ align="center"
+ class="r3-o"
+ style="table-layout: fixed; width: 100%"
+ >
+ <tr>
+ <td
+ class="r21-i"
+ style="padding-bottom: 5px; padding-top: 5px"
+ >
+ <table
+ width="100%"
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ >
+ <tr>
+ <th
+ width="100%"
+ valign="top"
+ class="r5-c"
+ style="font-weight: normal"
+ >
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="100%"
+ class="r6-o"
+ style="table-layout: fixed; width: 100%"
+ >
+ <tr>
+ <td
+ valign="top"
+ class="r7-i"
+ style="
+ padding-left: 15px;
+ padding-right: 15px;
+ "
+ >
+ <table
+ width="100%"
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ >
+ <tr>
+ <td class="r22-c" align="center">
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="570"
+ align="center"
+ class="r3-o"
+ style="
+ table-layout: fixed;
+ width: 570px;
+ "
+ >
+ <tr>
+ <td valign="top">
+ <table
+ width="100%"
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ >
+ <tr>
+ <td
+ class="r23-c"
+ style="
+ display: inline-block;
+ "
+ >
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="570"
+ class="r6-o"
+ style="
+ table-layout: fixed;
+ width: 570px;
+ "
+ >
+ <tr>
+ <td
+ class="r24-i"
+ style="
+ padding-bottom: 10px;
+ padding-left: 209px;
+ padding-right: 209px;
+ padding-top: 10px;
+ "
+ >
+ <table
+ width="100%"
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ >
+ <tr>
+ <th
+ width="40"
+ class="r25-c mobshow resp-table"
+ style="
+ font-weight: normal;
+ "
+ >
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="100%"
+ class="r26-o"
+ style="
+ table-layout: fixed;
+ width: 100%;
+ "
+ >
+ <tr>
+ <td
+ class="r27-i"
+ style="
+ font-size: 0px;
+ line-height: 0px;
+ padding-bottom: 5px;
+ padding-top: 5px;
+ "
+ >
+ <a
+ href="https://github.com/makeplane"
+ target="_blank"
+ style="
+ color: #3f76ff;
+ text-decoration: underline;
+ "
+ >
+ <img
+ src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/github_32px.png"
+ width="32"
+ border="0"
+ style="
+ display: block;
+ width: 100%;
+ "
+ /></a>
+ </td>
+ <td
+ class="nl2go-responsive-hide"
+ width="8"
+ style="
+ font-size: 0px;
+ line-height: 1px;
+ "
+ >
+ ­
+ </td>
+ </tr>
+ </table>
+ </th>
+ <th
+ width="40"
+ class="r25-c mobshow resp-table"
+ style="
+ font-weight: normal;
+ "
+ >
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="100%"
+ class="r26-o"
+ style="
+ table-layout: fixed;
+ width: 100%;
+ "
+ >
+ <tr>
+ <td
+ class="r27-i"
+ style="
+ font-size: 0px;
+ line-height: 0px;
+ padding-bottom: 5px;
+ padding-top: 5px;
+ "
+ >
+ <a
+ href="https://www.linkedin.com/company/planepowers/"
+ target="_blank"
+ style="
+ color: #3f76ff;
+ text-decoration: underline;
+ "
+ >
+ <img
+ src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/linkedin_32px.png"
+ width="32"
+ border="0"
+ style="
+ display: block;
+ width: 100%;
+ "
+ /></a>
+ </td>
+ <td
+ class="nl2go-responsive-hide"
+ width="8"
+ style="
+ font-size: 0px;
+ line-height: 1px;
+ "
+ >
+ ­
+ </td>
+ </tr>
+ </table>
+ </th>
+ <th
+ width="40"
+ class="r25-c mobshow resp-table"
+ style="
+ font-weight: normal;
+ "
+ >
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="100%"
+ class="r26-o"
+ style="
+ table-layout: fixed;
+ width: 100%;
+ "
+ >
+ <tr>
+ <td
+ class="r27-i"
+ style="
+ font-size: 0px;
+ line-height: 0px;
+ padding-bottom: 5px;
+ padding-top: 5px;
+ "
+ >
+ <a
+ href="https://twitter.com/planepowers"
+ target="_blank"
+ style="
+ color: #3f76ff;
+ text-decoration: underline;
+ "
+ >
+ <img
+ src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/twitter_32px.png"
+ width="32"
+ border="0"
+ style="
+ display: block;
+ width: 100%;
+ "
+ /></a>
+ </td>
+ <td
+ class="nl2go-responsive-hide"
+ width="8"
+ style="
+ font-size: 0px;
+ line-height: 1px;
+ "
+ >
+ ­
+ </td>
+ </tr>
+ </table>
+ </th>
+ <th
+ width="32"
+ class="r25-c mobshow resp-table"
+ style="
+ font-weight: normal;
+ "
+ >
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="100%"
+ class="r28-o"
+ style="
+ table-layout: fixed;
+ width: 100%;
+ "
+ >
+ <tr>
+ <td
+ class="r27-i"
+ style="
+ font-size: 0px;
+ line-height: 0px;
+ padding-bottom: 5px;
+ padding-top: 5px;
+ "
+ >
+ <a
+ href="https://plane.so/"
+ target="_blank"
+ style="
+ color: #3f76ff;
+ text-decoration: underline;
+ "
+ >
+ <img
+ src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/website_32px.png"
+ width="32"
+ border="0"
+ style="
+ display: block;
+ width: 100%;
+ "
+ /></a>
+ </td>
+ </tr>
+ </table>
+ </th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="100%"
+ align="center"
+ class="r3-o"
+ style="table-layout: fixed; width: 100%"
+ >
+ <tr>
+ <td
+ class="r21-i"
+ style="padding-bottom: 5px; padding-top: 5px"
+ >
+ <table
+ width="100%"
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ >
+ <tr>
+ <th
+ width="100%"
+ valign="top"
+ class="r5-c"
+ style="font-weight: normal"
+ >
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="100%"
+ class="r6-o"
+ style="table-layout: fixed; width: 100%"
+ >
+ <tr>
+ <td
+ valign="top"
+ class="r7-i"
+ style="
+ padding-left: 15px;
+ padding-right: 15px;
+ "
+ >
+ <table
+ width="100%"
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ >
+ <tr>
+ <td class="r8-c" align="left">
+ <table
+ cellspacing="0"
+ cellpadding="0"
+ border="0"
+ role="presentation"
+ width="100%"
+ class="r9-o"
+ style="
+ table-layout: fixed;
+ width: 100%;
+ "
+ >
+ <tr>
+ <td
+ align="center"
+ valign="top"
+ class="r29-i nl2go-default-textstyle"
+ style="
+ color: #3b3f44;
+ font-family: georgia, serif;
+ word-break: break-word;
+ font-size: 18px;
+ line-height: 1.5;
+ padding-top: 5px;
+ text-align: center;
+ "
+ >
+ <div>
+ <p
+ style="
+ margin: 0;
+ font-size: 14px;
+ "
+ >
+ <span style="font-size: 12px"
+ >This email was sent
+ to {{email }}. Please delete
+ if you aren't the intended
+ recipient.</span
+ >
+ </p>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </th>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>