chore: enable platform emails (#14471)
* feat: enable platform emails * fixup! feat: enable platform emails * fixup! fixup! feat: enable platform emails * fixup! Merge branch 'main' into chore-platform-emails * fixup! fixup! Merge branch 'main' into chore-platform-emails * fixup! fixup! fixup! Merge branch 'main' into chore-platform-emails * chore: add oauth client repo * chore: enable platform emails using oauth client * fix: call getConnectedCalendar with dbWrite since it creates destinationCalendar for new credentials * chore: update doc * fixup! chore: update doc * fixup! fixup! chore: update doc
This commit is contained in:
1 parent
19d938ed60
commit
e641bb3d57
18 files changed
+442
-142
No files matched your search
@@ -23,6 +23,7 @@ export const BaseEmailHtml = (props: {
|
||||
title?: string;
|
||||
subtitle?: React.ReactNode | string;
|
||||
headerType?: BodyHeadType;
|
||||
hideLogo?: boolean;
|
||||
}) => {
|
||||
return (
|
||||
<Html>
|
||||
@@ -196,7 +197,7 @@ export const BaseEmailHtml = (props: {
|
||||
</Row>
|
||||
</div>
|
||||
</div>
|
||||
<EmailBodyLogo />
|
||||
{!Boolean(props.hideLogo) && <EmailBodyLogo />}
|
||||
<RawHtml html="<!--[if mso | IE]></td></tr></table><![endif]-->" />
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -50,6 +50,7 @@ export const BaseScheduledEmail = (
|
||||
|
||||
return (
|
||||
<BaseEmailHtml
|
||||
hideLogo={Boolean(props.calEvent.platformClientId)}
|
||||
headerType={props.headerType || "checkCircle"}
|
||||
subject={props.subject || subject}
|
||||
title={t(
|
||||
|
||||
Reference in new issue
Block a user