MCPcopy
hub / github.com/sofn-xyz/mailing

github.com/sofn-xyz/mailing @main sqlite

repository ↗ · DeepWiki ↗
426 symbols 1,170 edges 342 files 0 documented · 0%
README

Mailing logo Mailing logo

Version Featured on Openbase

●  Build, test, send emails with React

  • Build email templates with React components Examples
  • MJML components that work across clients (Outlook!)
  • Preview server with live reload for quick development
  • Dev mode opens emails in your browser instead of sending
  • Test mode for ensuring emails send and have the correct content
  • Plays well with js frameworks like next.js, redwood.js, remix
  • Written in TypeScript, inspired by Action Mailer from Ruby on Rails

●  Why?

We’re longtime users of Action Mailer and wanted something similar for our typescript/react apps. We didn’t find anything, so we decided to build Mailing. We added some features that we would’ve liked in Action Mailer, like a mobile toggle (with hotkeys), and the ability to send a test email from the browser while developing. We went all in on MJML so that we (almost) never have to think about email clients or nested tables :)

●  Get started

Prerequisites: Mailing requires version 16+ of node and running on Mac or Linux. Windows is not supported at this time, but we'd welcome a pull request to fix these bugs and add Windows support!

To get started with Mailing, check out the official docs.

●   Contributing

Want to improve Mailing? Incredible. Try it out, file an issue or open a PR.

Check the CONTRIBUTING.md for more info.

●   Support

Need help getting set up? Hit us up on discord

Extension points exported contracts — how you extend this code

IAnalyticsProvider (Interface)
(no doc) [2 implementers]
packages/cli/src/util/analytics/providers/AnalyticsProvider.d.ts
PrismaTableName (Interface)
(no doc)
testUtilIntegration.ts
MjmlBlockItem (Interface)
(no doc)
packages/core/src/mjml-browser.d.ts
PrismaTableName (Interface)
(no doc)
packages/cli/cypressIntegration.config.ts
IChildrenItem (Interface)
(no doc)
packages/core/src/mjml-browser.d.ts
MjmlBlockItem (Interface)
(no doc)
packages/cli/src/mjml-browser.d.ts
IAttributes (Interface)
(no doc)
packages/core/src/mjml-browser.d.ts
IChildrenItem (Interface)
(no doc)
packages/cli/src/mjml-browser.d.ts

Core symbols most depended-on inside this repo

log
called by 22
packages/cli/src/util/serverLogger.ts
error
called by 22
packages/cli/src/util/serverLogger.ts
buildSendMail
called by 17
packages/core/src/index.ts
defaults
called by 16
packages/cli/src/util/config/index.ts
apiSendMail
called by 13
packages/cli/src/pages/api/__integration__/util/sendMail.ts
debug
called by 13
packages/cli/src/util/serverLogger.ts
apiListSubscribe
called by 11
packages/cli/src/pages/api/__integration__/util/listMember.ts
setup
called by 11
packages/cli/src/util/__test__/testUtils.ts

Shape

Function 330
Class 49
Interface 24
Method 23

Languages

TypeScript100%

Modules by API surface

packages/cli/src/pages/api/__integration__/util/listMember.ts16 symbols
testUtilIntegration.ts8 symbols
packages/core/src/index.ts7 symbols
packages/cli/src/util/config/index.ts7 symbols
packages/cli/src/util/analytics/providers/Posthog.ts7 symbols
packages/cli/src/util/analytics/providers/Axiom.ts7 symbols
packages/cli/src/pages/api/__integration__/util/lists.ts7 symbols
packages/cli/src/pages/api/__integration__/util/render.ts6 symbols
packages/cli/src/pages/api/__integration__/util/apiKeys.ts6 symbols
packages/cli/cypressIntegration.config.ts6 symbols
packages/cli/src/util/moduleManifestUtil.ts5 symbols
packages/cli/src/util/analytics/index.ts5 symbols

Dependencies from manifests, versioned

@babel/core7.18.5 · 1×
@babel/eslint-parser7.19.1 · 1×
@babel/parser7.18.11 · 1×
@babel/preset-env7.18.2 · 1×
@babel/preset-react7.17.12 · 1×
@babel/preset-typescript7.17.12 · 1×
@changesets/cli2.23.0 · 1×
@docsearch/react3.3.0 · 1×
@faire/mjml-react3.1.2 · 1×
@mdx-js/loader2.1.5 · 1×
@mdx-js/react2.1.2 · 1×
@next/eslint-plugin-next12.2.0 · 1×

Datastores touched

mailingDatabase · 1 repos

For agents

$ claude mcp add mailing \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact