Lorem Ipsum Utilities

Generate Emails

Generates random placeholder email addresses for testing, mockups, and development work. Access via MCP in Cursor or Windsurf, or call GET /v1/lorem/emails directly. Returns realistic-looking addresses like "[email protected]" or "[email protected]". Perfect for populating databases, UI prototypes, or API testing without using real email addresses.

API Endpoint

GET /v1/lorem/emails

Code Examples

curl "https://tinyfn.io/v1/lorem/emails" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/lorem/emails', {
  headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests

response = requests.get('https://tinyfn.io/v1/lorem/emails',
    headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)

Use via MCP

Add to your AI agent

Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's lorem ipsum tools:

{
  "mcpServers": {
    "tinyfn-lorem": {
      "url": "https://tinyfn.io/mcp/lorem",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Learn more about MCP setup →

FAQ

How do I generate multiple email addresses at once?

Use the count parameter: GET /v1/lorem/emails?count=10. Default is 1 email, maximum is typically 100 per request.

Can I specify custom domains for generated emails?

The tool generates emails with safe placeholder domains like example.com, testdomain.org, and sample.net to avoid conflicts with real domains.

How can I use this in Cursor with MCP for database seeding?

Call the generate_emails MCP function directly in your code context. Cursor can then use the output to populate test data or database fixtures.

Are the generated email addresses RFC-compliant?

Yes, all generated emails follow standard email format rules with valid local parts, @ symbols, and properly formatted domain names.

What's the difference between this and just hardcoding test emails?

Random generation provides variety for testing edge cases, prevents duplicate conflicts in datasets, and creates more realistic test scenarios than static placeholder data.

Try Generate Emails Now

Get your free API key and start using Generate Emails in seconds.

Get Free API Key