# Show GN: notion-to-email: Notion 페이지를 이메일 HTML로 변환하는 오픈소스 라이브러리

> Clean Markdown view of GeekNews topic #28228. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=28228](https://news.hada.io/topic?id=28228)
- GeekNews Markdown: [https://news.hada.io/topic/28228.md](https://news.hada.io/topic/28228.md)
- Type: show
- Author: [wer2774](https://news.hada.io/@wer2774)
- Published: 2026-04-05T22:25:32+09:00
- Updated: 2026-04-05T22:25:32+09:00
- Original source: [github.com/Sangkwun](https://github.com/Sangkwun/notion-to-email)
- Points: 2
- Comments: 0

## Topic Body

Notion 페이지 ID를 넘기면 Gmail, Outlook, Apple Mail에서 정상 렌더링되는  
HTML을 반환하는 TypeScript 라이브러리입니다.  
  
```typescript  
import { renderFromNotion } from 'notion-to-email'  
  
const { html, title } = await renderFromNotion({  
  pageId: 'your-page-id',  
  token: 'your-notion-token',  
})  
// SES, SendGrid, Nodemailer 등에 html을 전달  
```  
  
notionto.email 서비스를 만들면서 렌더링 레이어가 점점 커졌고,  
필요하신 분들도 쓸 수 있도록 라이브러리로 분리했습니다.  
  
이메일 HTML은 Flexbox/Grid를 쓸 수 없고 테이블 기반 레이아웃과 인라인 스타일을  
써야 하는데, 이 변환을 라이브러리가 내부적으로 처리합니다.  
  
지원 블록 20가지 이상: 단락, 헤딩, 목록, 체크박스, 토글, 콜아웃, 코드, 수식, 이미지,  
유튜브 임베드, 테이블, 컬럼, 동기화 블록 등  
  
HTML 파일로 바로 추출하는 CLI도 제공합니다:  
```  
npx notion-to-email &lt;page-id&gt; -o email.html  
```  
  
MIT 라이선스.  
- GitHub: https://github.com/Sangkwun/notion-to-email  
- npm: https://www.npmjs.com/package/notion-to-email

## Comments



_No public comments on this page._
