You can use @lambda, eg in your schema:
type Mutation {
sendEmail(to:String!) : Boolean! @lambda
}
then use lambda server to send out your email (returning status as boolean in above case).
You can use @lambda, eg in your schema:
type Mutation {
sendEmail(to:String!) : Boolean! @lambda
}
then use lambda server to send out your email (returning status as boolean in above case).