{
  "version": 1,
  "templates": [
    {
      "template_key": "auth.magic_link",
      "subject": "Sign in to {{app_name}}",
      "text_body": "Use this secure sign-in link for {{app_name}}: {{action_url}}\n\nThis link expires soon and can be used once.\n\nIf you did not request this, you can safely ignore this email.",
      "html_body": "<table role=\"presentation\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" style=\"background-color:#f8fafc;padding:40px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;\"><tr><td align=\"center\"><table role=\"presentation\" width=\"480\" cellpadding=\"0\" cellspacing=\"0\" style=\"width:480px;max-width:92vw;background-color:#ffffff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;\"><tr><td style=\"padding:32px 32px 0 32px;\"><div style=\"font-size:18px;font-weight:700;color:#0f172a;\">{{app_name}}</div></td></tr><tr><td style=\"padding:16px 32px 8px 32px;color:#0f172a;font-size:15px;line-height:1.6;\"><p style=\"margin:0 0 4px 0;\">Use the button below to sign in to <strong>{{app_name}}</strong>.</p><p style=\"margin:20px 0;\"><a href=\"{{action_url}}\" target=\"_blank\" rel=\"noopener\" style=\"display:inline-block;background-color:#0f766e;color:#ffffff;font-weight:600;font-size:15px;text-decoration:none;padding:12px 24px;border-radius:8px;\">Sign in</a></p><p style=\"margin:0;color:#64748b;font-size:13px;word-break:break-all;\">If the button does not work, copy and paste this link: {{action_url}}</p></td></tr><tr><td style=\"padding:24px 32px 32px 32px;border-top:1px solid #e2e8f0;margin-top:8px;\"><div style=\"color:#64748b;font-size:13px;line-height:1.5;padding-top:16px;\">Sent securely via P2HS. If you did not request this, you can safely ignore this email.</div></td></tr></table></td></tr></table>",
      "enabled": true
    },
    {
      "template_key": "auth.verify_email",
      "subject": "Verify your {{app_name}} email",
      "text_body": "Confirm your email address for {{app_name}}: {{action_url}}\n\nIf you did not create this account, you can safely ignore this email.",
      "html_body": "<table role=\"presentation\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" style=\"background-color:#f8fafc;padding:40px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;\"><tr><td align=\"center\"><table role=\"presentation\" width=\"480\" cellpadding=\"0\" cellspacing=\"0\" style=\"width:480px;max-width:92vw;background-color:#ffffff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;\"><tr><td style=\"padding:32px 32px 0 32px;\"><div style=\"font-size:18px;font-weight:700;color:#0f172a;\">{{app_name}}</div></td></tr><tr><td style=\"padding:16px 32px 8px 32px;color:#0f172a;font-size:15px;line-height:1.6;\"><p style=\"margin:0 0 4px 0;\">Confirm your email address for <strong>{{app_name}}</strong>.</p><p style=\"margin:20px 0;\"><a href=\"{{action_url}}\" target=\"_blank\" rel=\"noopener\" style=\"display:inline-block;background-color:#0f766e;color:#ffffff;font-weight:600;font-size:15px;text-decoration:none;padding:12px 24px;border-radius:8px;\">Verify email</a></p><p style=\"margin:0;color:#64748b;font-size:13px;word-break:break-all;\">If the button does not work, copy and paste this link: {{action_url}}</p></td></tr><tr><td style=\"padding:24px 32px 32px 32px;border-top:1px solid #e2e8f0;margin-top:8px;\"><div style=\"color:#64748b;font-size:13px;line-height:1.5;padding-top:16px;\">Sent securely via P2HS. If you did not request this, you can safely ignore this email.</div></td></tr></table></td></tr></table>",
      "enabled": true
    },
    {
      "template_key": "auth.invite",
      "subject": "You have been invited to {{app_name}}",
      "text_body": "Accept your invitation to {{app_name}}: {{action_url}}\n\nThis invitation link expires soon.",
      "html_body": "<table role=\"presentation\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" style=\"background-color:#f8fafc;padding:40px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;\"><tr><td align=\"center\"><table role=\"presentation\" width=\"480\" cellpadding=\"0\" cellspacing=\"0\" style=\"width:480px;max-width:92vw;background-color:#ffffff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;\"><tr><td style=\"padding:32px 32px 0 32px;\"><div style=\"font-size:18px;font-weight:700;color:#0f172a;\">{{app_name}}</div></td></tr><tr><td style=\"padding:16px 32px 8px 32px;color:#0f172a;font-size:15px;line-height:1.6;\"><p style=\"margin:0 0 4px 0;\">You have been invited to join <strong>{{app_name}}</strong>.</p><p style=\"margin:20px 0;\"><a href=\"{{action_url}}\" target=\"_blank\" rel=\"noopener\" style=\"display:inline-block;background-color:#0f766e;color:#ffffff;font-weight:600;font-size:15px;text-decoration:none;padding:12px 24px;border-radius:8px;\">Accept invitation</a></p><p style=\"margin:0;color:#64748b;font-size:13px;word-break:break-all;\">If the button does not work, copy and paste this link: {{action_url}}</p></td></tr><tr><td style=\"padding:24px 32px 32px 32px;border-top:1px solid #e2e8f0;margin-top:8px;\"><div style=\"color:#64748b;font-size:13px;line-height:1.5;padding-top:16px;\">Sent securely via P2HS. If you did not request this, you can safely ignore this email.</div></td></tr></table></td></tr></table>",
      "enabled": true
    },
    {
      "template_key": "auth.password_reset",
      "subject": "Reset your {{app_name}} password",
      "text_body": "Reset your password for {{app_name}}: {{action_url}}\n\nIf you did not request a password reset, you can safely ignore this email.",
      "html_body": "<table role=\"presentation\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" style=\"background-color:#f8fafc;padding:40px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;\"><tr><td align=\"center\"><table role=\"presentation\" width=\"480\" cellpadding=\"0\" cellspacing=\"0\" style=\"width:480px;max-width:92vw;background-color:#ffffff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;\"><tr><td style=\"padding:32px 32px 0 32px;\"><div style=\"font-size:18px;font-weight:700;color:#0f172a;\">{{app_name}}</div></td></tr><tr><td style=\"padding:16px 32px 8px 32px;color:#0f172a;font-size:15px;line-height:1.6;\"><p style=\"margin:0 0 4px 0;\">We received a request to reset your password for <strong>{{app_name}}</strong>.</p><p style=\"margin:20px 0;\"><a href=\"{{action_url}}\" target=\"_blank\" rel=\"noopener\" style=\"display:inline-block;background-color:#0f766e;color:#ffffff;font-weight:600;font-size:15px;text-decoration:none;padding:12px 24px;border-radius:8px;\">Reset password</a></p><p style=\"margin:0;color:#64748b;font-size:13px;word-break:break-all;\">If the button does not work, copy and paste this link: {{action_url}}</p></td></tr><tr><td style=\"padding:24px 32px 32px 32px;border-top:1px solid #e2e8f0;margin-top:8px;\"><div style=\"color:#64748b;font-size:13px;line-height:1.5;padding-top:16px;\">Sent securely via P2HS. If you did not request this, you can safely ignore this email.</div></td></tr></table></td></tr></table>",
      "enabled": true
    },
    {
      "template_key": "auth.otp_request",
      "subject": "Your sign-in code for {{app_name}}",
      "text_body": "Your sign-in code for {{app_name}} is {{code}}.\n\nThis code expires soon and can be used once.\n\nIf you did not request this, you can safely ignore this email.",
      "html_body": "<table role=\"presentation\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" style=\"background-color:#f8fafc;padding:40px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;\"><tr><td align=\"center\"><table role=\"presentation\" width=\"480\" cellpadding=\"0\" cellspacing=\"0\" style=\"width:480px;max-width:92vw;background-color:#ffffff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;\"><tr><td style=\"padding:32px 32px 0 32px;\"><div style=\"font-size:18px;font-weight:700;color:#0f172a;\">{{app_name}}</div></td></tr><tr><td style=\"padding:16px 32px 8px 32px;color:#0f172a;font-size:15px;line-height:1.6;\"><p style=\"margin:0 0 4px 0;\">Here is your one-time sign-in code for <strong>{{app_name}}</strong>.</p><div style=\"margin:20px 0;padding:20px;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;text-align:center;\"><span style=\"font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:28px;font-weight:700;letter-spacing:6px;color:#0f172a;\">{{code}}</span></div><p style=\"margin:0;color:#64748b;font-size:13px;\">This code expires soon and can be used once.</p></td></tr><tr><td style=\"padding:24px 32px 32px 32px;border-top:1px solid #e2e8f0;margin-top:8px;\"><div style=\"color:#64748b;font-size:13px;line-height:1.5;padding-top:16px;\">Sent securely via P2HS. If you did not request this, you can safely ignore this email.</div></td></tr></table></td></tr></table>",
      "enabled": true
    }
  ]
}
