Processing incoming emails on Gmail. Which method is stable / more convenient / correct?

Yes, I followed the instructions, but I did it the first time, perhaps I missed something.
About the service account, I understand that this type of authorization does not work with Gmail (ERROR: Gmail error response [403]: Insufficient Permission)