{"enrichment":{"faq":[{"a":"nodemailer enables you to send transactional emails from a Node.js application by creating a transporter object configured with your email service credentials (SMTP or OAuth2), then calling the sendMail() method with recipient, subject, and body details. The skill handles the entire delivery pipeline, from authentication through message transmission, making it straightforward to integrate email functionality into your application workflow for password resets, order confirmations, and notifications.","q":"How do I send emails from Node.js using nodemailer?"},{"a":"nodemailer supports multiple authentication approaches for email delivery, including traditional SMTP with username and password, as well as OAuth2 for services like Gmail. You configure the authentication method when setting up your transporter, specifying credentials or OAuth tokens depending on your email provider's requirements. This flexibility allows nodemailer to work with virtually any email service while maintaining security best practices.","q":"What authentication methods does nodemailer support for email delivery?"},{"a":"Yes, nodemailer fully supports sending emails with file attachments in Node.js. When composing your email message, you simply add an attachments array specifying the file paths or buffer contents you want to include. nodemailer handles encoding and MIME type detection automatically, making it easy to attach documents, invoices, or other files to your transactional emails without additional configuration.","q":"Can nodemailer send email with attachments in Node.js?"},{"a":"nodemailer enables you to construct HTML email templates by setting the html property of your message object instead of plain text. You can include inline CSS styling, embedded images, and formatted content directly in the HTML. For embedded images, nodemailer supports the cid: protocol to reference images by identifier, allowing you to embed images in outgoing emails without external URLs, ensuring reliable display across email clients.","q":"How can I build HTML email templates with styling and embedded content using nodemailer?"},{"a":"nodemailer with Gmail requires configuring OAuth2 credentials through Google's developer console to obtain a client ID, client secret, and refresh token. You then create a transporter with the service set to 'gmail' and provide your OAuth2 credentials in the auth object. This approach is more secure than storing your Gmail password directly and is the recommended method for integrating nodemailer with Gmail for reliable transactional email delivery.","q":"What is the nodemailer setup process for Gmail with OAuth2?"},{"a":"nodemailer itself provides the core email-sending functionality, and while it doesn't include built-in queuing or rate limiting, the skill's architecture allows you to implement these patterns in your application layer. You can combine nodemailer with job queues or custom throttling logic to manage bulk email sends responsibly, ensuring compliance with email service provider limits and maintaining application performance when dispatching large volumes of transactional emails.","q":"Does nodemailer support email queuing and rate limiting for bulk sends?"}],"shadow_tags":["email-delivery","smtp-client","message-queue","oauth-integration","attachment-handling","template-rendering","rate-limiting","notification-service","email-automation"],"summary_rewrite":"nodemailer enables Node.js developers to dispatch transactional emails programmatically with straightforward configuration and robust delivery handling. Whether you're sending password resets, order confirmations, or notifications, this skill integrates email functionality directly into your application workflow."},"files":[{"bytes":4014,"path":"skills/tools/nodemailer/SKILL.md","sha256":"d8a9aef22c497cdc50fafdab7b0dd37af448140f836b2c12be44ef4abc63a457","url":"https://skillfed.io/files/AIDotNet/MoYuCode/nodemailer/9c02ddbc/SKILL.md"}],"id":"AIDotNet/MoYuCode/nodemailer","links":{"html":"https://skillfed.io/AIDotNet/MoYuCode/nodemailer","md":"https://skillfed.io/AIDotNet/MoYuCode/nodemailer.md","repo":"https://github.com/AIDotNet/MoYuCode"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":15,"language":"TypeScript","last_updated":"2026-01-28","license":"MIT","name":"nodemailer","publisher":"AIDotNet","stars":84},"relations":{"similar":[{"id":"AIDotNet/MoYuCode/email-sender"},{"id":"besoeasy/open-skills/send-email-programmatically"},{"id":"jmsktm/claude-settings/email-notifications"},{"id":"AIDotNet/MoYuCode/web-scraper"},{"id":"Aaronontheweb/dotnet-skills/aspire-mailpit-integration"},{"id":"wshaddix/dotnet-skills/aspire-mailpit-integration"},{"id":"AIDotNet/MoYuCode/exceljs"},{"id":"AIDotNet/MoYuCode/security-scanner"},{"id":"AIDotNet/MoYuCode/git-workflow"},{"id":"yaklang/hack-skills/email-header-injection"}]},"slug":{"owner":"AIDotNet","repo":"MoYuCode","skill":"nodemailer"},"version":"9c02ddbc"}
