MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / sendBasicEmail

Function sendBasicEmail

packages/internal/src/loops/client.ts:185–203  ·  view source on GitHub ↗
(
  params: {
    data: { subject: string; message: string }
  } & ParamsExcluding<
    typeof sendTransactionalEmail,
    'transactionalId' | 'dataVariables'
  >,
)

Source from the content-addressed store, hash-verified

183}
184
185export async function sendBasicEmail(
186 params: {
187 data: { subject: string; message: string }
188 } & ParamsExcluding<
189 typeof sendTransactionalEmail,
190 'transactionalId' | 'dataVariables'
191 >,
192): Promise<SendEmailResult> {
193 const { data } = params
194
195 return sendTransactionalEmail({
196 ...params,
197 transactionalId: BASIC_TRANSACTIONAL_ID,
198 dataVariables: {
199 subject: data.subject,
200 message: data.message,
201 },
202 })
203}
204
205/**
206 * Send a notification email when a user files a dispute.

Callers 4

mainFunction · 0.90
mainFunction · 0.90
POSTFunction · 0.90

Calls 1

sendTransactionalEmailFunction · 0.85

Tested by

no test coverage detected