Gmail API Python Client in Cloud Function
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 15/100
Línea de trabajo
The send call is gmail_client.users().messages().send(...) from the linked Python guide, but the bucket writes at /bucket/emailSubject/attachmentFileName most likely come from the user's own Cloud Function code, not from this repo. Start by finding where attachments are written to Cloud Storage in that code. Done means a maintainer reply or doc note that says which code controls the upload and how to skip it.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
I'm using Gmail API to send emails with attachments within a cloud function. using gmail api client
gmail_client.users().messages().send(userId='me', body={'raw': raw_string}).execute()
following this Guide: https://developers.google.com/gmail/api/guides/sending#python
I implemented it and it is working fine, but the problem is that the attachments are saved (uploaded) to a cloud storage whenever an email is sent, in the following path
/bucket/emailSubject/attachmentFileName
I don't wish this to happen, I don't want the attachments to be saved in cloud storage, is there a way I can prevent this?
- Lenguaje dominante
- Python
- Estrellas
- 1.4k
- Forks
- 917
- Merge medio
- 3 min
- PR fusionados (30 d)
- 1
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de googleworkspace/python-samples
-
ايقاف البحث الأمنQuizá libre de nuevo @sqrrrl la tomó hace 400 días y no hay ningún pull request abierto. Abierto
googleworkspace/python-samples#2434 · 1 asignado ·
-
Slow Uploads using Google Drive API with PythonQuizá libre de nuevo @sqrrrl la tomó hace 740 días y no hay ningún pull request abierto. Abierto
googleworkspace/python-samples#1852 · 1 comentario · 1 asignado ·
-
403 error from google after a few successful runs of my codeQuizá libre de nuevo @vinay-google la tomó hace 912 días y no hay ningún pull request abierto. Abierto
googleworkspace/python-samples#1424 · 1 asignado ·
-
How to see the progress of files which is getting uploadedQuizá libre de nuevo @vinay-google la tomó hace 928 días y no hay ningún pull request abierto. Abierto
googleworkspace/python-samples#1404 · 1 asignado ·
-
Phyton SamplesQuizá libre de nuevo @PierrickVoulet la tomó hace 975 días y no hay ningún pull request abierto. Abierto
googleworkspace/python-samples#1279 · 1 asignado ·
Todos los issues de googleworkspace/python-samples
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días
-
Reference check: findingsAbiertoaudit-reference-check
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
screenrec.com stopped workingAbiertosite-bug triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
canonical/paas-charm#407 · 1 comentario ·
Los mantenedores suelen responder en 5 días