Go to emailjs.com and sign up for a free account. The free plan gives you 200 emails per month — plenty to start.
Once logged in, click "Email Services" in the left menu → "Add New Service" → choose Gmail (or whichever email Coach Sapp uses) → connect the account.
Copy and save your Service ID — it looks like: service_xxxxxxx
In the EmailJS dashboard click "Email Templates" → "Create New Template". You need two templates — one for athletes/parents, one for Coach Sapp.
Copy and paste each template below exactly as shown. The {{variable}} tags are automatically filled in when someone registers.
{{to_email}} for Template 1 and your actual email for Template 2. Save both and copy each Template ID (looks like template_xxxxxxx).
Every variable below is automatically passed from the registration form. Use any of them in your templates by wrapping in double curly braces.
| Variable | What it contains | Example |
|---|---|---|
| {{athlete_name}} | Athlete's full name | Marcus Johnson |
| {{parent_name}} | Parent / guardian name | David Johnson |
| {{parent_email}} | Parent's email address | [email protected] |
| {{parent_phone}} | Parent's phone number | (214) 555-0123 |
| {{school}} | Athlete's school | Duncanville High School |
| {{position}} | Athlete's position | Left Tackle (LT) |
| {{grad_year}} | Graduation year | 2027 |
| {{session}} | Session they registered for | Group OLine Training |
| {{session_date}} | Session date | Sat, Jan 18, 2026 |
| {{session_time}} | Session time | 10:00 AM – 12:00 PM |
| {{session_location}} | Session address | Wildcat Field, 123 Main St |
| {{session_price}} | Session price | $35 |
| {{payment_link}} | Link to pay | https://pay.example.com/... |
| {{bring}} | What to bring | Cleats, helmet, water |
| {{to_email}} | Parent's email (for routing) | [email protected] |
| {{coach_email}} | Coach Sapp's email | support@sappolineacademy.com |
| {{academy}} | Academy name | Sapp's O-Line Academy |
Enter your three EmailJS credentials below and click Generate Code. Copy the result and paste it into coach-sapp.html — replacing the three placeholder lines near the top of the script section.
coach-sapp.html → search for EMAILJS_SERVICE_ID → replace the entire 4-line block with the generated code above.
The site sends two emails on every registration — one to the parent, one to Coach Sapp. The second email (coach notification) uses Template 2. After you've added your credentials, find the section in coach-sapp.html that says // Send email if EmailJS configured and replace it with this:
Also add this line near the top of the credentials block in coach-sapp.html:
Once everything is set up:
1. Open the admin panel → add a test session → save it.
2. Open the main site → scroll to the registration form → fill it out with a real email address → submit.
3. Check that email inbox — you should receive the athlete confirmation within 30 seconds.
4. Check Coach Sapp's email — he should get the notification at the same time.