{"actions":{"bootstrapAndRun":{"effect":"installs rote if missing, inspects, prepares, and asks before running","href":"https://play.modiqo.ai/install?play=modiqo/retrieve-recent-emails@0.1.7","method":"GET","rel":"https://rote.dev/rels/bootstrap-and-run","requiresConsent":true,"responseMediaType":"text/x-shellscript"},"inspect":{"command":"rote play inspect https://play.modiqo.ai/modiqo/retrieve-recent-emails@0.1.7","effect":"read-only"},"installCliOnly":{"effect":"installs the rote CLI, nothing else","href":"https://play.modiqo.ai/install","method":"GET","rel":"https://rote.dev/rels/install-cli","requiresConsent":true,"responseMediaType":"text/x-shellscript"},"run":{"command":"rote play run https://play.modiqo.ai/modiqo/retrieve-recent-emails@0.1.7","effect":"executes the play locally after consent","headless":{"approvalAssertion":"--yes","approvalRequiredBeforeInvocation":true,"commandTemplate":"rote play run https://play.modiqo.ai/modiqo/retrieve-recent-emails@0.1.7 <name=value...> --yes","stdinPolicy":"never pipe input to automate the interactive Ready selector"},"requiresConsent":true}},"authenticationPreflight":{"credentialValues":"local_only","enforcedBeforeAdapterCalls":true,"mode":"declared","readiness":"inspect_locally","steps":[{"endpoint":"adapter/gmail","name":"google_auth","onExpired":"refresh","onMissing":"authorize","onUnreadable":"reauthorize"}]},"description":"Retrieves recent Gmail messages matching a Gmail search query and returns normalized sender, subject, date, and snippet details.","distribution":{"digest":"sha256:09ed734a2907ff8c489562c5d193b3a09bf4c1194b60098ad593067f5a0ceb6c","mediaType":"application/vnd.modiqo.rote-flow","size":3784,"verifiedBy":"rote verifies the downloaded archive against this digest before it runs"},"effects":{"credentialsProvidedBy":"runner","credentialsRemainLocal":true,"declaredWrites":[],"publisherReceivesCredentials":false},"id":"https://play.modiqo.ai/modiqo/retrieve-recent-emails@0.1.7","inputPolicy":{"optionalWithDefault":"show_default_and_accept_override","optionalWithoutDefault":"omit_unless_supplied","required":"ask","secrets":"collect_locally_outside_conversation"},"links":{"docs":"https://rote.dev","page":"https://play.modiqo.ai/modiqo/retrieve-recent-emails@0.1.7","protocol":"https://play.modiqo.ai/.well-known/rote","self":"https://play.modiqo.ai/modiqo/retrieve-recent-emails@0.1.7.json"},"name":"retrieve-recent-emails","owner":{"kind":"org","slug":"modiqo"},"parameters":[{"default":"newer_than:1d","description":"Gmail search query passed to messages.list","input":{"allowCustom":true,"choices":[],"label":"Query"},"name":"query","required":false,"type":"string"},{"default":10,"description":"Maximum messages to retrieve (1-100)","input":{"allowCustom":true,"choices":[],"label":"Count"},"name":"count","required":false,"type":"integer"}],"preparation":[{"action":{"command":"rote play inspect https://play.modiqo.ai/modiqo/retrieve-recent-emails@0.1.7 --json","effect":"read-only"},"step":1,"type":"inspect_local_readiness"},{"references":["/parameters"],"step":2,"type":"collect_parameters"},{"references":["/parameters","/requirements","/effects"],"step":3,"type":"review"},{"consentBoundary":"the user approves the exact play and parameter values","references":["/parameters","/requirements","/effects"],"step":4,"type":"obtain_run_consent"},{"action":{"command":"rote play run https://play.modiqo.ai/modiqo/retrieve-recent-emails@0.1.7","headlessCommandTemplate":"rote play run https://play.modiqo.ai/modiqo/retrieve-recent-emails@0.1.7 <name=value...> --yes"},"preservesAcquisitionBoundaries":["adapter_selection","oauth_dcr","google_discovery","static_token_setup","runtime_security_checks"],"requiresConsent":true,"step":5,"type":"run"}],"producedBy":{"roteVersion":"0.65.0"},"publishedAt":"2026-09-02T18:29:36.303409+00:00","reference":"modiqo/retrieve-recent-emails@0.1.7","requirements":{"adapters":[{"bindingStatus":"resolved","credentialDemand":{"requirements":[{"description":"Google OAuth 2.0 token","kind":"bearer","name":"GMAIL_TOKEN","protocol":"google_discovery","protocolSource":"declared","setup":{"drivenBy":"rote","interaction":"browser_or_device","type":"oauth"}}],"status":"required"},"displayName":"Gmail API","fingerprint":"mcp_2kLwgdDQH7fxkyDYysCHsbCXLooH","id":"gmail","purpose":"Email management for personal and professional communication - send, read, organize messages, manage inbox and filters","requirement":"modiqo/gmail@0.0.3","version":"0.0.3"}],"browser":{"dependencies":[],"runtime":false,"signIn":false},"localTools":["deno","rote"],"roteCli":{"minimumVersion":"0.62.0"},"sessions":true},"resolution":"pinned","schema":"rote.play.v1","stats":{"downloads":5,"installs":0},"steps":{"count":3,"names":["details","messages","validate_inputs"]},"title":"retrieve-recent-emails","type":"play","version":"0.1.7","visibility":"public"}