🔥🔥🔥 Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
chore: mention notification and webhook faliure (#3573)
Bavisetti Narayan76db394ab144
diff --git a/apiserver/plane/api/views/base.py b/apiserver/plane/api/views/base.pyindex b069ef78c1..edb89f9b18 100644--- a/apiserver/plane/api/views/base.py+++ b/apiserver/plane/api/views/base.py@@ -1,6 +1,8 @@# Python importsimport zoneinfoimport json+from urllib.parse import urlparse+# Django importsfrom django.conf import settings@@ -51,6 +53,11 @@ class WebhookMixin:and self.request.method in ["POST", "PATCH", "DELETE"]and response.status_code in [200, 201, 204]):+ url = request.build_absolute_uri()+ parsed_url = urlparse(url)+ # Extract the scheme and netloc+ scheme = parsed_url.scheme+ netloc = parsed_url.netloc# Push the object to delaysend_webhook.delay(event=self.webhook_event,@@ -59,6 +66,7 @@ class WebhookMixin:action=self.request.method,slug=self.workspace_slug,bulk=self.bulk,+ current_site=f"{scheme}://{netloc}",)return responsediff --git a/apiserver/plane/app/views/base.py b/apiserver/plane/app/views/base.pyindex e07cb811cc..fa1e7559b0 100644--- a/apiserver/plane/app/views/base.py+++ b/apiserver/plane/app/views/base.py@@ -64,6 +64,7 @@ class WebhookMixin:action=self.request.method,slug=self.workspace_slug,bulk=self.bulk,+ current_site=request.META.get("HTTP_ORIGIN"),)return responsediff --git a/apiserver/plane/bgtasks/email_notification_task.py b/apiserver/plane/bgtasks/email_notification_task.pyindex 713835033f..9e9b348e19 100644--- a/apiserver/plane/bgtasks/email_notification_task.py+++ b/apiserver/plane/bgtasks/email_notification_task.py@@ -1,5 +1,6 @@-import jsonfrom datetime import datetime+from bs4 import BeautifulSoup+# Third party importsfrom celery import shared_task@@ -9,7 +10,6 @@ from django.utils import timezonefrom django.core.mail import EmailMultiAlternatives, get_connectionfrom django.template.loader import render_to_stringfrom django.utils.html import strip_tags-from django.conf import settings# Module importsfrom plane.db.models import EmailNotificationLog, User, Issue@@ -40,7 +40,7 @@ def stack_email_notification():processed_notifications = []# Loop through all the issues to create the emailsfor receiver_id in receivers:- # Notifcation triggered for the receiver+ # Notification triggered for the receiverreceiver_notifications = [notificationfor notification in email_notifications@@ -124,119 +124,153 @@ def create_payload(notification_data):return data+def process_mention(mention_component):+ soup = BeautifulSoup(mention_component, 'html.parser')+ mentions = soup.find_all('mention-component')+ for mention in mentions:+ user_id = mention['id']+ user = User.objects.get(pk=user_id)+ user_name = user.display_name+ highlighted_name = f"@{user_name}"+ mention.replace_with(highlighted_name)+ return str(soup)++def process_html_content(content):+ processed_content_list = []+ for html_content in content:+ processed_content = process_mention(html_content)+ processed_content_list.append(processed_content)+ return processed_content_list@shared_taskdef send_email_notification(issue_id, notification_data, receiver_id, email_notification_ids):- ri = redis_instance()- base_api = (ri.get(str(issue_id)).decode())- data = create_payload(notification_data=notification_data)-- # Get email configurations- (- EMAIL_HOST,- EMAIL_HOST_USER,- EMAIL_HOST_PASSWORD,- EMAIL_PORT,- EMAIL_USE_TLS,- EMAIL_FROM,- ) = get_email_configuration()-- receiver = User.objects.get(pk=receiver_id)- issue = Issue.objects.get(pk=issue_id)- template_data = []- total_changes = 0- comments = []- actors_involved = []- for actor_id, changes in data.items():- actor = User.objects.get(pk=actor_id)- total_changes = total_changes + len(changes)- comment = changes.pop("comment", False)- actors_involved.append(actor_id)- if comment:- comments.append(- {- "actor_comments": comment,- "actor_detail": {- "avatar_url": actor.avatar,- "first_name": actor.first_name,- "last_name": actor.last_name,- },- }+ try:+ ri = redis_instance()+ base_api = (ri.get(str(issue_id)).decode())+ data = create_payload(notification_data=notification_data)++ # Get email configurations+ (+ EMAIL_HOST,+ EMAIL_HOST_USER,+ EMAIL_HOST_PASSWORD,+ EMAIL_PORT,+ EMAIL_USE_TLS,+ EMAIL_FROM,+ ) = get_email_configuration()++ receiver = User.objects.get(pk=receiver_id)+ issue = Issue.objects.get(pk=issue_id)+ template_data = []+ total_changes = 0+ comments = []+ actors_involved = []+ for actor_id, changes in data.items():+ actor = User.objects.get(pk=actor_id)+ total_changes = total_changes + len(changes)+ comment = changes.pop("comment", False)+ mention = changes.pop("mention", False)+ actors_involved.append(actor_id)+ if comment:+ comments.append(+ {+ "actor_comments": comment,+ "actor_detail": {+ "avatar_url": actor.avatar,+ "first_name": actor.first_name,+ "last_name": actor.last_name,+ },+ }+ )+ if mention:+ mention["new_value"] = process_html_content(mention.get("new_value"))+ mention["old_value"] = process_html_content(mention.get("old_value"))+ comments.append(+ {+ "actor_comments": mention,+ "actor_detail": {+ "avatar_url": actor.avatar,+ "first_name": actor.first_name,+ "last_name": actor.last_name,+ },+ }+ )+ activity_time = changes.pop("activity_time")+ # Parse the input string into a datetime object+ formatted_time = datetime.strptime(activity_time, "%Y-%m-%d %H:%M:%S").strftime("%H:%M %p")++ if changes:+ template_data.append(+ {+ "actor_detail": {+ "avatar_url": actor.avatar,+ "first_name": actor.first_name,+ "last_name": actor.last_name,+ },+ "changes": changes,+ "issue_details": {+ "name": issue.name,+ "identifier": f"{issue.project.identifier}-{issue.sequence_id}",+ },+ "activity_time": str(formatted_time),+ })- activity_time = changes.pop("activity_time")- # Parse the input string into a datetime object- formatted_time = datetime.strptime(activity_time, "%Y-%m-%d %H:%M:%S").strftime("%H:%M %p")-- if changes:- template_data.append(- {- "actor_detail": {- "avatar_url": actor.avatar,- "first_name": actor.first_name,- "last_name": actor.last_name,- },- "changes": changes,- "issue_details": {- "name": issue.name,- "identifier": f"{issue.project.identifier}-{issue.sequence_id}",- },- "activity_time": str(formatted_time),- }- )- summary = "Updates were made to the issue by"-- # Send the mail- subject = f"{issue.project.identifier}-{issue.sequence_id} {issue.name}"- context = {- "data": template_data,- "summary": summary,- "actors_involved": len(set(actors_involved)),- "issue": {- "issue_identifier": f"{str(issue.project.identifier)}-{str(issue.sequence_id)}",- "name": issue.name,- "issue_url": f"{base_api}/{str(issue.project.workspace.slug)}/projects/{str(issue.project.id)}/issues/{str(issue.id)}",- },- "receiver": {- "email": receiver.email,- },- "issue_url": f"{base_api}/{str(issue.project.workspace.slug)}/projects/{str(issue.project.id)}/issues/{str(issue.id)}",- "project_url": f"{base_api}/{str(issue.project.workspace.slug)}/projects/{str(issue.project.id)}/issues/",- "workspace":str(issue.project.workspace.slug),- "project": str(issue.project.name),- "user_preference": f"{base_api}/profile/preferences/email",- "comments": comments,- }- html_content = render_to_string(- "emails/notifications/issue-updates.html", context- )- text_content = strip_tags(html_content)+ summary = "Updates were made to the issue by"- try:- connection = get_connection(- host=EMAIL_HOST,- port=int(EMAIL_PORT),- username=EMAIL_HOST_USER,- password=EMAIL_HOST_PASSWORD,- use_tls=EMAIL_USE_TLS == "1",+ # Send the mail+ subject = f"{issue.project.identifier}-{issue.sequence_id} {issue.name}"+ context = {+ "data": template_data,+ "summary": summary,+ "actors_involved": len(set(actors_involved)),+ "issue": {+ "issue_identifier": f"{str(issue.project.identifier)}-{str(issue.sequence_id)}",+ "name": issue.name,+ "issue_url": f"{base_api}/{str(issue.project.workspace.slug)}/projects/{str(issue.project.id)}/issues/{str(issue.id)}",+ },+ "receiver": {+ "email": receiver.email,+ },+ "issue_url": f"{base_api}/{str(issue.project.workspace.slug)}/projects/{str(issue.project.id)}/issues/{str(issue.id)}",+ "project_url": f"{base_api}/{str(issue.project.workspace.slug)}/projects/{str(issue.project.id)}/issues/",+ "workspace":str(issue.project.workspace.slug),+ "project": str(issue.project.name),+ "user_preference": f"{base_api}/profile/preferences/email",+ "comments": comments,+ }+ html_content = render_to_string(+ "emails/notifications/issue-updates.html", context)+ text_content = strip_tags(html_content)- msg = EmailMultiAlternatives(- subject=subject,- body=text_content,- from_email=EMAIL_FROM,- to=[receiver.email],- connection=connection,- )- msg.attach_alternative(html_content, "text/html")- msg.send()+ try:+ connection = get_connection(+ host=EMAIL_HOST,+ port=int(EMAIL_PORT),+ username=EMAIL_HOST_USER,+ password=EMAIL_HOST_PASSWORD,+ use_tls=EMAIL_USE_TLS == "1",+ )- EmailNotificationLog.objects.filter(- pk__in=email_notification_ids- ).update(sent_at=timezone.now())- return- except Exception as e:- print(e)+ msg = EmailMultiAlternatives(+ subject=subject,+ body=text_content,+ from_email=EMAIL_FROM,+ to=[receiver.email],+ connection=connection,+ )+ msg.attach_alternative(html_content, "text/html")+ msg.send()++ EmailNotificationLog.objects.filter(+ pk__in=email_notification_ids+ ).update(sent_at=timezone.now())+ return+ except Exception as e:+ print(e)+ return+ except Issue.DoesNotExist:returndiff --git a/apiserver/plane/bgtasks/notification_task.py b/apiserver/plane/bgtasks/notification_task.pyindex 6cfbec72a9..0a843e4a63 100644--- a/apiserver/plane/bgtasks/notification_task.py+++ b/apiserver/plane/bgtasks/notification_task.py@@ -515,7 +515,7 @@ def notifications(bulk_email_logs.append(EmailNotificationLog(triggered_by_id=actor_id,- receiver_id=subscriber,+ receiver_id=mention_id,entity_identifier=issue_id,entity_name="issue",data={@@ -552,6 +552,7 @@ def notifications("old_value": str(issue_activity.get("old_value")),+ "activity_time": issue_activity.get("created_at"),},},)@@ -639,6 +640,7 @@ def notifications("old_value": str(last_activity.old_value),+ "activity_time": issue_activity.get("created_at"),},},)@@ -695,6 +697,7 @@ def notifications("old_value")),+ "activity_time": issue_activity.get("created_at"),},},)diff --git a/apiserver/plane/bgtasks/webhook_task.py b/apiserver/plane/bgtasks/webhook_task.pyindex 34bba0cf87..605f48dd94 100644--- a/apiserver/plane/bgtasks/webhook_task.py+++ b/apiserver/plane/bgtasks/webhook_task.py@@ -7,6 +7,9 @@ import hmac# Django importsfrom django.conf import settingsfrom django.core.serializers.json import DjangoJSONEncoder+from django.core.mail import EmailMultiAlternatives, get_connection+from django.template.loader import render_to_string+from django.utils.html import strip_tags# Third party importsfrom celery import shared_task@@ -22,10 +25,10 @@ from plane.db.models import (ModuleIssue,CycleIssue,IssueComment,+ User,)from plane.api.serializers import (ProjectSerializer,- IssueSerializer,CycleSerializer,ModuleSerializer,CycleIssueSerializer,@@ -34,6 +37,9 @@ from plane.api.serializers import (IssueExpandSerializer,)+# Module imports+from plane.license.utils.instance_value import get_email_configuration+SERIALIZER_MAPPER = {"project": ProjectSerializer,"issue": IssueExpandSerializer,@@ -72,7 +78,7 @@ def get_model_data(event, event_id, many=False):max_retries=5,retry_jitter=True,)-def webhook_task(self, webhook, slug, event, event_data, action):+def webhook_task(self, webhook, slug, event, event_data, action, current_site):try:webhook = Webhook.objects.get(id=webhook, workspace__slug=slug)@@ -151,7 +157,18 @@ def webhook_task(self, webhook, slug, event, event_data, action):response_body=str(e),retry_count=str(self.request.retries),)-+ # Retry logic+ if self.request.retries >= self.max_retries:+ Webhook.objects.filter(pk=webhook.id).update(is_active=False)+ if webhook:+ # send email for the deactivation of the webhook+ send_webhook_deactivation_email(+ webhook_id=webhook.id,+ receiver_id=webhook.created_by_id,+ reason=str(e),+ current_site=current_site,+ )+ returnraise requests.RequestException()except Exception as e:@@ -162,7 +179,7 @@ def webhook_task(self, webhook, slug, event, event_data, action):@shared_task()-def send_webhook(event, payload, kw, action, slug, bulk):+def send_webhook(event, payload, kw, action, slug, bulk, current_site):try:webhooks = Webhook.objects.filter(workspace__slug=slug, is_active=True)@@ -216,6 +233,7 @@ def send_webhook(event, payload, kw, action, slug, bulk):event=event,event_data=data,action=action,+ current_site=current_site,)except Exception as e:@@ -223,3 +241,56 @@ def send_webhook(event, payload, kw, action, slug, bulk):print(e)capture_exception(e)return+++@shared_task+def send_webhook_deactivation_email(webhook_id, receiver_id, current_site, reason):+ # Get email configurations+ (+ EMAIL_HOST,+ EMAIL_HOST_USER,+ EMAIL_HOST_PASSWORD,+ EMAIL_PORT,+ EMAIL_USE_TLS,+ EMAIL_FROM,+ ) = get_email_configuration()++ receiver = User.objects.get(pk=receiver_id)+ webhook = Webhook.objects.get(pk=webhook_id)+ subject="Webhook Deactivated"+ message=f"Webhook {webhook.url} has been deactivated due to failed requests."++ # Send the mail+ context = {+ "email": receiver.email,+ "message": message,+ "webhook_url":f"{current_site}/{str(webhook.workspace.slug)}/settings/webhooks/{str(webhook.id)}",+ }+ html_content = render_to_string(+ "emails/notifications/webhook-deactivate.html", context+ )+ text_content = strip_tags(html_content)++ try:+ connection = get_connection(+ host=EMAIL_HOST,+ port=int(EMAIL_PORT),+ username=EMAIL_HOST_USER,+ password=EMAIL_HOST_PASSWORD,+ use_tls=EMAIL_USE_TLS == "1",+ )++ msg = EmailMultiAlternatives(+ subject=subject,+ body=text_content,+ from_email=EMAIL_FROM,+ to=[receiver.email],+ connection=connection,+ )+ msg.attach_alternative(html_content, "text/html")+ msg.send()++ return+ except Exception as e:+ print(e)+ returndiff --git a/apiserver/plane/settings/common.py b/apiserver/plane/settings/common.pyindex 444248382f..f032092504 100644--- a/apiserver/plane/settings/common.py+++ b/apiserver/plane/settings/common.py@@ -282,10 +282,8 @@ if REDIS_SSL:redis_url = os.environ.get("REDIS_URL")broker_url = f"{redis_url}?ssl_cert_reqs={ssl.CERT_NONE.name}&ssl_ca_certs={certifi.where()}"CELERY_BROKER_URL = broker_url- CELERY_RESULT_BACKEND = broker_urlelse:CELERY_BROKER_URL = REDIS_URL- CELERY_RESULT_BACKEND = REDIS_URLCELERY_IMPORTS = ("plane.bgtasks.issue_automation_task",diff --git a/apiserver/templates/emails/notifications/issue-updates.html b/apiserver/templates/emails/notifications/issue-updates.htmlindex fa50631c55..a7990562d4 100644--- a/apiserver/templates/emails/notifications/issue-updates.html+++ b/apiserver/templates/emails/notifications/issue-updates.html@@ -108,25 +108,33 @@margin-bottom: 15px;"/>- {% if actors_involved == 1 %}- <p style="font-size: 1rem;color: #1f2d5c; line-height: 28px">- {{summary}}- <span style="font-size: 1rem; font-weight: 700; line-height: 28px">- {{ data.0.actor_detail.first_name}}- {{data.0.actor_detail.last_name}}- </span>.- </p>- {% else %}- <p style="font-size: 1rem;color: #1f2d5c; line-height: 28px">- {{summary}}- <span style="font-size: 1rem; font-weight: 700; line-height: 28px">- {{ data.0.actor_detail.first_name}}- {{data.0.actor_detail.last_name }}- </span>and others.- </p>- {% endif %}--+ {% if actors_involved == 1 %}+ <p style="font-size: 1rem;color: #1f2d5c; line-height: 28px">+ {{summary}}+ <span style="font-size: 1rem; font-weight: 700; line-height: 28px">+ {% if data|length > 0 %}+ {{ data.0.actor_detail.first_name}}+ {{data.0.actor_detail.last_name}}+ {% else %}+ {{ comments.0.actor_detail.first_name}}+ {{comments.0.actor_detail.last_name}}+ {% endif %}+ </span>.+ </p>+ {% else %}+ <p style="font-size: 1rem;color: #1f2d5c; line-height: 28px">+ {{summary}}+ <span style="font-size: 1rem; font-weight: 700; line-height: 28px">+ {% if data|length > 0 %}+ {{ data.0.actor_detail.first_name}}+ {{data.0.actor_detail.last_name}}+ {% else %}+ {{ comments.0.actor_detail.first_name}}+ {{comments.0.actor_detail.last_name}}+ {% endif %}+ </span>and others.+ </p>+ {% endif %}<!-- {% if actors_involved == 1 %}{% if data|length > 0 and comments|length == 0 %}<p style="font-size: 1rem;color: #1f2d5c; line-height: 28px">diff --git a/apiserver/templates/emails/notifications/webhook-deactivate.html b/apiserver/templates/emails/notifications/webhook-deactivate.htmlnew file mode 100644index 0000000000..0543952351--- /dev/null+++ b/apiserver/templates/emails/notifications/webhook-deactivate.html@@ -0,0 +1,1544 @@+<!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>{{ message }}</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-i {+ padding-bottom: 15px !important;+ padding-top: 15px !important;+ text-align: left !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;+ text-align: center !important;+ width: 100% !important;+ }+ .r18-i {+ padding-bottom: 5px !important;+ padding-top: 5px !important;+ }+ .r19-i {+ padding-bottom: 15px !important;+ padding-left: 15px !important;+ padding-right: 15px !important;+ padding-top: 15px !important;+ }+ .r20-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;+ }+ .r21-i {+ padding-bottom: 5px !important;+ padding-left: 5px !important;+ padding-right: 5px !important;+ padding-top: 5px !important;+ text-align: left !important;+ }+ .r22-i {+ padding-bottom: 5px !important;+ padding-left: 15px !important;+ padding-right: 15px !important;+ padding-top: 5px !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-o {+ border-style: solid !important;+ margin-right: 0px !important;+ width: 32px !important;+ }+ .r28-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 {+ 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="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="left"+ valign="top"+ class="r11-i nl2go-default-textstyle"+ 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;+ "+ >+ <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;+ "+ >+ {{ message }}+ </p>+ </div>+ </td>+ </tr>+ </table>+ </td>+ </tr>+ <tr+ style="+ display: flex;+ align-items: center;+ width: 100%;+ justify-content: center;+ "+ >+ <td+ style="+ display: flex;+ align-items: center;+ width: 100%;+ justify-content: center;+ "+ >+ <a+ href="{{ webhook_url }}"+ style="+ text-decoration: none;+ display: flex;+ align-items: center;+ width: 100%;+ justify-content: center;+ "+ >+ <span+ style="+ max-width: min-content;+ white-space: nowrap;+ background-color: #3f76ff;+ padding: 10px 15px;+ border: 1px solid #2f4ba8;+ border-radius: 4px;+ margin-top: 15px;+ cursor: pointer;+ font-size: 0.8rem;+ color: #ffffff;+ display: flex;+ align-items: center;+ justify-content: center;+ "+ >+ View webhook+ </span>+ </a>+ </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">+ <table+ cellspacing="0"+ cellpadding="0"+ border="0"+ role="presentation"+ width="570"+ class="r3-o"+ style="table-layout: fixed"+ >+ <tr>+ <td+ class="r18-i"+ style="+ padding-bottom: 5px;+ padding-top: 5px;+ height: 1px;+ "+ >+ <table+ width="100%"+ cellspacing="0"+ cellpadding="0"+ border="0"+ role="presentation"+ >+ <tr>+ <td>+ <table+ width="100%"+ cellspacing="0"+ cellpadding="0"+ border="0"+ role="presentation"+ valign=""+ class="r18-i"+ 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>+ </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="r19-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="r20-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="r21-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/issues"+ 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="r22-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="r17-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="r18-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="r18-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="r18-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="r27-o"+ style="+ table-layout: fixed;+ width: 100%;+ "+ >+ <tr>+ <td+ class="r18-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="r22-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="r28-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>