Saltar al contenido
Skillpedia
Correo y mensajes32 mil · #9171

gws-gmail-send

Qué hace

Este comando envía correos a través de Gmail. Puedes indicar el destinatario, el asunto y el contenido del mensaje.

Cuándo usarla

  • ✓Enviar un recordatorio rápido a un compañero de trabajo.
  • ✓Compartir información importante con un grupo.
  • ✓Confirmar una cita por correo electrónico.

Link de la skill

https://github.com/googleworkspace/cli/blob/main/skills/gws-gmail-send/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/googleworkspace/cli/blob/main/skills/gws-gmail-send/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Envía un correo a john@example.com con el asunto 'Reunión' y el texto 'Hola John, nos vemos mañana a las 10 h.'”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

Tú indicas a quién se envía, el asunto y lo que quieres escribir en el cuerpo del correo. El comando se encarga del resto, como dar formato al mensaje y enviarlo.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

gmail +send

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

Send an email

Usage

gws gmail +send --to <EMAILS> --subject <SUBJECT> --body <TEXT>

Flags

Flag Required Default Description
--to ✓ — Recipient email address(es), comma-separated
--subject ✓ — Email subject
--body ✓ — Email body (plain text, or HTML with --html)
--from — — Sender address (for send-as/alias; omit to use account default)
--attach — — Attach a file (can be specified multiple times)
--cc — — CC email address(es), comma-separated
--bcc — — BCC email address(es), comma-separated
--html — — Treat --body as HTML content (default is plain text)
--dry-run — — Show the request that would be sent without executing it
--draft — — Save as draft instead of sending

Examples

gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi Alice!'
gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --cc bob@example.com
gws gmail +send --to alice@example.com --subject 'Hello' --body '<b>Bold</b> text' --html
gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --from alias@example.com
gws gmail +send --to alice@example.com --subject 'Report' --body 'See attached' -a report.pdf
gws gmail +send --to alice@example.com --subject 'Files' --body 'Two files' -a a.pdf -a b.csv
gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --draft

Tips

  • Handles RFC 5322 formatting, MIME encoding, and base64 automatically.
  • Use --from to send from a configured send-as alias instead of your primary address.
  • Use -a/--attach to add file attachments. Can be specified multiple times. Total size limit: 25MB.
  • With --html, use fragment tags (<p>, <b>, <a>, <br>, etc.) — no <html>/<body> wrapper needed.
  • Use --draft to save the message as a draft instead of sending it immediately.

[!CAUTION] This is a write command — confirm with the user before executing.

See Also

Preguntas frecuentes

¿Puedo enviar correos a varias personas?

Sí, basta con separar las direcciones de correo con una coma.

¿Puedo adjuntar archivos?

Sí, usando la opción '--attach' seguida del nombre del archivo.

¿Puedo guardar el correo como borrador en lugar de enviarlo?

Sí, usa la opción '--draft'.

Detalles

Descripción original del autor

Gmail: Send an email.

repo: googleworkspace/cli

Popularidad

Estrellas en GitHub
32 mil
Posición en el ranking
#9171
Licencia
Apache-2.0
Actualizada
6/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas