library
turbot/teams
Get Involved
Version
Pipeline: List Messages
Get all the messages in a user's mailbox.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run teams.pipeline.list_messages \ --arg 'user_id=<string>'Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = teams.pipeline.list_messages args = { user_id = <string> }}Params
| Name | Type | Required | Description | Default |
|---|---|---|---|---|
| cred | string | Yes | Name for credentials to use. If not provided, the default credentials will be used. | default |
| user_id | string | Yes | The unique identifier for the user. | - |
Outputs
| Name | Description |
|---|---|
| messages | List of all emails. |