transfer e-mails with a label to another mailbox

327 views
Skip to first unread message

Carlos Vargas Lanz

unread,
May 9, 2024, 5:24:32 AM5/9/24
to GAM for Google Workspace
Hello

I need to send several emails from one gmail account to another but I need them to be sent as if they were sent one by one.

The option to send them as attachments does not work for me as I need them to be in the other account as separate emails.

Do you have any idea how I could do this and not have to do it one by one.

Thanks

Ross Scroggs

unread,
May 9, 2024, 10:47:19 AM5/9/24
to google-ap...@googlegroups.com
GAM and the Gmail API send one message per API call, there is no concept of sending multiple emails as separate emails.

Make a batch file that sends each email separately.

Ross
----
Ross Scroggs



--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/d228209f-ffb4-4f53-bf6a-38692e5b5dcbn%40googlegroups.com.

Carlos Vargas Lanz

unread,
May 9, 2024, 1:55:35 PM5/9/24
to google-ap...@googlegroups.com
Hello Ross

I understand the idea but could you help me with the syntax to send one of the emails please, as I have been trying with one and it gives me an error.

I use this command
 gam user <mail source> forward message to <mail destination> query "from:<mails received>

thank you very much for your help
Resuelve

Carlos Vargas Lanz

Gerente de Infraestructura

+52 5521286707

Corporativo MX CO ES PT IT BR













Ross Scroggs

unread,
May 9, 2024, 2:38:12 PM5/9/24
to google-ap...@googlegroups.com
I'm not clear on what your goal is, send me a Meet/Zoom invitation.

Ross
----
Ross Scroggs


Carlos Vargas Lanz

unread,
Jul 4, 2024, 9:00:21 PM7/4/24
to google-ap...@googlegroups.com

Hi Ross

An apology for the time that has passed but I had to go on a trip to some work places and so far I'm coming back.

I have installed the advanced version and I get this error when I run the command.

Imagen de WhatsApp 2024-07-04 a las 17.34.34_460703db.jpg

Thanks

Ross Scroggs

unread,
Jul 4, 2024, 9:03:43 PM7/4/24
to google-ap...@googlegroups.com
Do: gam user andres....@gobravo.io check serviceaccount

Correct email address is I mistyped it.

Ross
----
Ross Scroggs


On Jul 4, 2024, at 5:52 PM, 'Carlos Vargas Lanz' via GAM for Google Workspace <google-ap...@googlegroups.com> wrote:

Hi Ross

An apology for the time that has passed but I had to go on a trip to some work places and so far I'm coming back.

I have installed the advanced version and I get this error when I run the command.

Carlos Vargas Lanz

unread,
Jul 5, 2024, 8:42:59 PM7/5/24
to google-ap...@googlegroups.com
Hi Ross

I fixed the problem and you can now send emails from one account to another.

Thank you very much for your support

Regards
Reply all
Reply to author
Forward
0 new messages