af-test-email-delivery

Verify email delivery in Playwright tests using the Gmail API.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/GainInsightDev/websites --skill af-test-email-delivery
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: af-test-email-delivery
Source: https://github.com/GainInsightDev/websites/tree/main/.claude/skills/af-test-email-delivery
Command: npx skills add https://github.com/GainInsightDev/websites --skill af-test-email-delivery

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of verifying email delivery and content within end-to-end testing scenarios, ensuring critical user communication flows function as expected.

Core Features & Use Cases

  • Signup Verification: Test that users receive and can act upon email verification links.
  • Password Reset: Validate the password reset email flow, including link validity and user experience.
  • Invitation Workflows: Ensure that invitation emails are sent correctly and can be processed by recipients.
  • Use Case: When a new user signs up, this skill can be used to automatically check their inbox for the welcome/verification email and confirm the link works, all within a Playwright test.

Quick Start

Use the af-test-email-delivery skill to verify that a password reset email was received and contains the correct reset link.

Frequently Asked Questions about af-test-email-delivery

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify email delivery in Playwright E2E tests?

You can verify email delivery in Playwright E2E tests by utilizing the Gmail API to retrieve and validate emails, ensuring that critical user communication flows like signup verification and password resets function as expected within your automated scenarios.

How do I test password reset and signup verification email flows end-to-end?

To test password reset and signup verification email flows end-to-end, you configure your E2E testing framework to check the user inbox via the Gmail API, confirming that the emails are received and the contained links are valid and actionable.

Can I use the Gmail API to retrieve invitation emails for E2E testing?

Yes, you can use the Gmail API to retrieve invitation emails for E2E testing. This approach supports testing invitation workflows by verifying that invitation emails are sent correctly and can be successfully processed by the recipients.

Do I need to configure E2E infrastructure requirements for email services like SES and Cognito?

Yes, you need to configure E2E infrastructure requirements for email services like SES and Cognito. Understanding and setting up this infrastructure is required to properly route and retrieve emails during your Playwright end-to-end testing scenarios.

What is the best way to automate checking a welcome email link in an end-to-end test?

The best way to automate checking a welcome email link in an end-to-end test is to use the Gmail API within your Playwright tests to automatically check the user's inbox for the email and confirm the verification link works.

Why does my E2E email verification test fail to retrieve the expected message?

Your E2E email verification test may fail to retrieve the expected message if the E2E infrastructure requirements for email services like SES and Cognito are not properly configured, preventing the email from being sent or accessed via the Gmail API.