import React from 'react'; import type { Metadata } from 'next'; import EmailGenerator from './EmailGenerator'; import { Mail, Zap, Smartphone, Lock, Download, Sparkles } from 'lucide-react'; import { QRCodeSVG } from 'qrcode.react'; import { ToolBreadcrumb } from '@/components/seo/BreadcrumbSchema'; import { RelatedTools } from '@/components/marketing/RelatedTools'; import { generateSoftwareAppSchema, generateFaqSchema } from '@/lib/schema-utils'; // SEO Optimized Metadata export const metadata: Metadata = { title: { absolute: 'Free Email QR Code Generator | Email QR Code Erstellen | QR Master', }, description: 'Create an Email QR code to send emails instantly. Email QR Code erstellen mit Betreff und Text. 100% free and secure.', keywords: ['email qr code', 'mailto qr', 'email generator', 'free qr code', 'email qr code erstellen', 'email schreiben qr code', 'qr code für email', 'mailto qr code generator', 'email vorlage qr code'], alternates: { canonical: 'https://www.qrmaster.net/tools/email-qr-code', }, openGraph: { title: 'Free Email QR Code Generator | QR Master', description: 'Send emails instantly with a custom QR code. Add recipient, subject, and body.', type: 'website', url: 'https://www.qrmaster.net/tools/email-qr-code', images: [{ url: '/og-email-generator.png', width: 1200, height: 630 }], }, }; // JSON-LD const jsonLd = { '@context': 'https://schema.org', '@graph': [ generateSoftwareAppSchema( 'Email QR Code Generator', 'Generate Email QR codes for mailto links with subject and body.', '/og-email-generator.png' ), { '@type': 'HowTo', name: 'How to Create an Email QR Code', step: [ { '@type': 'HowToStep', position: 1, name: 'Enter Recipient', text: 'Type the email address you want to receive emails at.' }, { '@type': 'HowToStep', position: 2, name: 'Add Details', text: 'Optional: Add a pre-filled subject line and body text.' }, { '@type': 'HowToStep', position: 3, name: 'Customize', text: 'Choose a brand color and add a call-to-action frame.' }, { '@type': 'HowToStep', position: 4, name: 'Download', text: 'Download your QR code in PNG or SVG.' }, { '@type': 'HowToStep', position: 5, name: 'Share', text: 'Add to business cards or flyers.' }, ], totalTime: 'PT30S', }, generateFaqSchema({ 'How does it work?': { question: 'How does it work?', answer: 'When scanned, it opens the user\'s default email app (like Gmail or Outlook) with a new draft composed to your address.', }, 'Can I add a subject line?': { question: 'Can I add a subject line?', answer: 'Yes! You can pre-fill the subject line and the body content so the sender just has to hit send.', }, 'Is it free?': { question: 'Is it free?', answer: 'Yes, 100% free with unlimited scans.', }, 'Does it work with attachments?': { question: 'Does it work with attachments?', answer: 'No. The standard mailto format does not support attaching files automatically. Users will have to attach files manually.', }, 'Is it private?': { question: 'Is it private?', answer: 'Yes. The data is encoded directly into the QR code. We do not store your email or message data.', }, }), ] }; export default function EmailPage() { return ( <>