List links in a message
get_email_linksExtract all http and https URLs from an email message using its key. Returns links as text without fetching or resolving them.
Instructions
The http and https URLs found in a message, as text. These links are NEVER fetched, resolved or checked — a URL in an email is attacker-controlled, and following one would let any sender make this machine issue a request on their behalf. Requires a published body index, for the same reason get_email_body does.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The opaque message key from a listing or a search. Stable across a Mail rebuild. Apple's internal row numbers are not accepted. |