[Python] How to ignore images attached from the signature from Gmail API (Python)

Discussão em 'Python' iniciado por Stack, Janeiro 22, 2025.

  1. Stack

    Stack Membro Participativo

    I would like to ask about using the Gmail API.

    I want to know if I can use Python to fetch data from the Gmail API, but I'm not sure if it will be able to ignore images attached from the signature in the email.

    I understand that in Apps Script, it can be done by using 'ignore inlineImages.

    inlineImages

    Here is my example python code.

    message_detail = (
    self.services.users()
    .messages()
    .get(userId="me", id=message_id, format="full")
    .execute()
    )

    Continue reading...

Compartilhe esta Página