Commit Graph

33 Commits

Author SHA1 Message Date
Adam
fec8e1be22 Scheduling (#1914)
Co-authored-by: amrit <iamamrit27@gmail.com>
2025-08-04 22:36:21 -07:00
Om Raval
3263d88008 Fix/email printing (#1529)
Co-authored-by: Adam <x_1337@outlook.com>
2025-07-04 12:27:52 -07:00
Ahmet Kilinc
f623c912e4 new email renderer (#1584)
# Replace iFrame with Shadow DOM for Email Content Rendering

## Description

Replaced the `MailIframe` component with a new `MailContent` component that uses Shadow DOM instead of iframes for rendering email content. This approach provides better security isolation while maintaining styling control and performance. The implementation uses DOMPurify for sanitization and includes proper handling of external images, trusted senders, and theme adaptation.

## Type of Change

-  New feature (non-breaking change which adds functionality)
- 🔒 Security enhancement
-  Performance improvement

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit

* **New Features**
  * Introduced a new email content viewer that securely displays HTML emails with improved security, style isolation, and theme support.
  * Added user controls to manage image loading and trust email senders directly from the email view.

* **Refactor**
  * Replaced the previous email iframe viewer with the new secure content viewer, streamlining functionality and enhancing user experience.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-07-04 03:17:25 +01:00
BlankParticle
fa45abaf44 feat: remixify and whatever else needed to be done 2025-05-20 13:56:47 +05:30
Aj Wazzan
7aeae2198a refactor: improve color contrast handling and clean up email address formatting 2025-05-15 21:59:19 -07:00
Aj Wazzan
0f5b761adb Merge branch 'feat/mailto-fixes' of https://github.com/jlokos/Zero into jlokos-feat/mailto-fixes 2025-05-05 14:28:06 -07:00
BlankParticle
f059f95f1f chore: cleanup and refactor, remove unused files and routes 2025-05-06 00:23:56 +05:30
jlokos
1e3c25f902 fix: mailto handler bcc, cc, etc 2025-05-04 20:15:54 -04:00
jlokos
e1b88047a8 Add CC/BCC support and improve mailto handling with retry logic 2025-05-04 19:27:12 -04:00
Aj Wazzan
2ee601031c Refactor mail components to include labels in thread data and improve layout structure. Updated type definitions and adjusted state management in MailDisplay and MailList components for better handling of email labels. 2025-04-28 13:34:53 -07:00
Aj Wazzan
2a9d995385 Update dependencies and refactor email rendering logic
- Added `@react-email/components` dependency to `bun.lock` and `package.json`.
- Removed the `extractText.ts` file as it is no longer needed.
- Refactored email rendering in `mail-iframe.tsx` to utilize the new `template` function from `email-utils.client.tsx`.
- Improved handling of image loading based on sender trust status.
- Updated various components to enhance readability and maintainability.
2025-04-27 21:58:23 -07:00
Ahmet Kilinc
40e8f30bb4 fixes to iframe height 2025-04-26 21:21:53 +01:00
Aj Wazzan
9d21cc8720 Refactor mail components by removing unused imports, enhancing styling, and improving email thread handling with background queue integration. 2025-04-23 23:15:01 -07:00
Dante Issaias
4ca40fe74e Crypto secure
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-04-12 11:47:23 +01:00
Dante Issaias
3f5f17c96e Only show external images banner if there was a CSP violation 2025-04-12 11:38:38 +01:00
Ahmet Kilinc
fdf53492fe disable default images loading (#606)
* disable default images loading

* enable base64 by default
2025-04-06 19:18:15 -04:00
Nizzy
0c48dd00b2 color fix 2025-03-27 18:35:21 -07:00
Aj Wazzan
8d7dd90792 adding starred 2025-03-21 15:58:38 -07:00
Adam
9511514581 Merge branch 'staging' into parse-to-cc 2025-03-21 10:14:25 -07:00
Aj Wazzan
ec5f86dab8 adds vishyfishy2's suggestion for domain reputation using vercel tracking for now 2025-03-20 16:16:11 -07:00
Dante Issaias
41cc24e4fb Fallbacks
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-03-20 21:44:05 +00:00
Dante Issaias
66f9c3ebdf Merge branch 'staging' into parse-to-cc 2025-03-20 21:39:47 +00:00
Dante Issaias
2bda96e706 Check if email was sent with TLS 2025-03-20 21:24:30 +00:00
Dante Issaias
560dd723ba Parse to and cc headers 2025-03-20 20:58:52 +00:00
Dante Issaias
7c0d3bbb62 Simplify ternary 2025-03-17 19:17:15 +00:00
Dante Issaias
e74dc13b13 Fixes 2025-03-17 19:11:20 +00:00
Dante Issaias
6c3ab7db07 Parse from header according to RFC 2822 2025-03-17 19:01:58 +00:00
Dante Issaias
3553ff7eab Don't duplicate code 2025-03-16 23:18:05 +00:00
Dante Issaias
b2a21a4f92 Comments 2025-03-16 23:10:04 +00:00
Dante Issaias
14bfd244a8 Remove unused import 2025-03-16 22:56:06 +00:00
Dante Issaias
abb64e4a3c One-click unsubscribe 2025-03-16 22:33:41 +00:00
Aj Wazzan
cb357fa095 feat: add demo mail layout with sample email data
- Created demo JSON with sample email threads
- Implemented DemoMailLayout component for static mail preview
- Added demo components for MailList and ThreadDisplay
- Updated home page to include demo mail layout
- Introduced conditional rendering for demo mode in mail components
2025-03-04 12:24:53 -08:00
Nizzy
dd34d7d420 monorepo 2025-02-24 21:00:46 -05:00