Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ route.ts
File
route.ts
apps/sim/app/api/tools/mail/send/route.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ createLogger } from
'@sim/logger'
2
import
{ convert } from
'html-to-text'
3
import
{
type
NextRequest, NextResponse } from
'next/server'
4
import
{ Resend } from
'resend'
Callers
nothing calls this directly
Calls
11
createLogger
Function · 0.90
withRouteHandler
Function · 0.90
generateRequestId
Function · 0.90
checkInternalAuth
Function · 0.90
parseRequest
Function · 0.90
getValidationErrorMessage
Function · 0.90
convert
Function · 0.85
info
Method · 0.80
send
Method · 0.80
error
Method · 0.80
warn
Method · 0.65
Tested by
no test coverage detected