Skip to content

Outlook

flowtask.interfaces.Outlook

OutlookClient

OutlookClient(*args, **kwargs)

Bases: O365Client

Outlook Client.

Managing connections to Outlook Mail API.

download_message async

download_message(message_id, destination)

Download a message by its ID.

list_messages async

list_messages(folder='Inbox', top=10, filter_query=None, select_fields=None)

List messages in a specified folder.

move_message async

move_message(message_id, destination_folder_id)

Move a message to a different folder.

search_messages async

search_messages(search_query, top=10)

Search for messages matching the search query.

send_message async

send_message(subject, body, to_recipients, cc_recipients=None, bcc_recipients=None, attachments=None, from_address=None)

Send a message with optional attachments and optional 'on behalf of' another user.