Aller au contenu
Skillpedia
API et serveurs (backend)16k · #10840

send-with-resend

Ce qu’il fait

Cette skill envoie des e-mails avec Resend avec précaution, car un e-mail envoyé ne peut pas être rappelé. Elle s'adresse aux personnes qui envoient des e-mails transactionnels ou en lot depuis une application ou un outil.

Quand l’utiliser

  • ✓Quand vous voulez envoyer, programmer ou expédier en lot un e-mail avec Resend.
  • ✓Quand vous voulez tester un modèle d'e-mail avant qu'il n'atteigne de vraies personnes.
  • ✓Quand vous intégrez l'envoi Resend dans une base de code.

Lien du skill

https://github.com/ParadevAI/Paradev/blob/main/plugins/resend/skills/send-with-resend/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/ParadevAI/Paradev/blob/main/plugins/resend/skills/send-with-resend/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Envoie une version test de notre e-mail de bienvenue avec Resend, puis attends mon accord avant de l'envoyer à la vraie liste.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent vérifie que le domaine d'envoi est validé, envoie d'abord le message aux adresses de test de Resend et contrôle le résultat. Il n'envoie aux vrais destinataires qu'après votre confirmation.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

A sent email cannot be taken back

Every other Resend call can be run again. send-email and send-batch-emails put mail in someone's inbox, and nothing undoes that. Treat the send as the last step of a short checklist.

1. Check the sending domain

The from address must be on a domain the account has verified for sending. Run list-domains and find the domain of the from address:

  • verified: send.
  • pending, not_started, failed, or partly verified: do not send. Run get-domain and show the user the DNS records that are not verified yet.
  • Not in the list: the account cannot send from it. Ask which verified domain to use. Do not pick one for the user.

onboarding@resend.dev sends without a domain, but only to the account owner's own address. It is for a first test, not for real recipients.

2. Prove it on a test address first

Before a real recipient, send the same message to Resend's test addresses. Remove cc and bcc, and put only test addresses in to. A real address in any recipient field gets the test email before the user confirms in step 3.

  • delivered@resend.dev: delivered. Add a label for each case, for example delivered+welcome@resend.dev.
  • bounced@resend.dev: a hard bounce.
  • complained@resend.dev: delivered, then marked as spam.
  • suppressed@resend.dev: suppressed as an address that bounced before.

Then run get-email on the result. Its status is the truth: sent means Resend accepted the message, delivered means the receiving server accepted it.

3. Confirm before a real inbox

Show the user the from, to, cc, bcc, subject, and body, and wait for a clear yes. Get this confirmation every time. Approval for an earlier send does not cover this one.

  • Set an idempotencyKey (for example welcome/<user-id>), so a retry after a timeout cannot send the message twice.
  • To send later, set scheduledAt. cancel-email can stop a scheduled email until it is sent, and not after.
  • One message to many people who must not see each other is a batch (send-batch-emails, at most 100 per call), or a broadcast. It is not one email with a long to list.

4. Sending from code

When the user wants their application to send mail, read how the codebase already calls Resend and extend that path. The API key comes from the environment and never goes in the repo, a client bundle, or a log line. Send from the server only.

Anti-patterns

  • Testing on a real person. Use delivered@resend.dev until the message is right.
  • Reading sent as delivered. sent only means that Resend accepted it.
  • Retrying a send without an idempotency key. A timeout does not prove that the first send failed.
  • Changing the from domain so the send works. The user picks the sender, not the agent.
Questions fréquentes

Peut-il envoyer à de vraies personnes sans demander ?

Non. Il s'arrête avant les vrais destinataires et vous demande votre confirmation.

Que se passe-t-il si le domaine d'envoi n'est pas validé ?

Il n'envoie rien et vous montre les enregistrements DNS qui doivent encore être configurés.

À quoi servent les adresses de test ?

Elles permettent de vérifier qu'un message fonctionne, y compris le comportement d'un e-mail livré, rejeté ou signalé, sans atteindre une vraie boîte de réception.

Détails

Description originale de l’auteur

Send email through Resend without surprising anyone — check the sending domain first, prove the message on Resend's test addresses, and get the user's confirmation before mail goes to a real inbox. Use when the user asks to send, schedule, or batch-send an email, test a template, or wire Resend sending into a codebase.

repo: ParadevAI/Paradev

Popularité

Étoiles GitHub
16k
Position au classement
#10840
Licence
—
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires