garmin_email_summary
Generate a Garmin health and activity summary report and email it via SMTP. Customize period, end date, recipients, and subject; covers HR, HRV, stress, sleep, and more.
Instructions
Generate a Garmin summary report and email it via SMTP.
period: "daily", "weekly", "biweekly", or "monthly" (default: weekly). end_date: YYYY-MM-DD (defaults to today). to: recipient email(s), comma-separated (defaults to SMTP_TO env var). subject: custom subject line (auto-generated if omitted).
Requires SMTP env vars: SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASSWORD. Optional: SMTP_FROM (defaults to SMTP_USER), SMTP_TO (default recipient), SMTP_USE_SSL ("true" for port-465 implicit SSL; default is STARTTLS).
The email contains a formatted HTML report (with plain-text fallback) covering all biomarkers: HR, HRV, stress, sleep, SpO2, respiration, body battery, steps, hydration, intensity minutes, calories, weight, activities, and strength training sessions.
FOCUS MORE ON STRENGTH AND CARDIO BIO-MARKERS IF POSSIBLE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| period | No | weekly | |
| subject | No | ||
| end_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |