I couldn’t find the answer for a long time, so I changed my gmail account and it worked. It should be an account problem. After logging in with that account, I found that gmail prompted me to limit sending emails;
Official explanation:
Sending restrictions
If you send a message to more than 500 recipients or if you send a large number of undeliverable messages, Google will temporarily disable your account in order to prevent spam and avoid abuse as much as possible. If you're using a POP or IMAP client (such as Microsoft Outlook or Apple Mail), you can only send messages to 100 recipients at a time. Your account should be reactivated within 24 hours.
If you communicate with the same group of people on a regular basis, you might want to try Google Groups.
If you send a large number of undeliverable emails, we recommend that you confirm your contact's email address. It's also crucial that the person you're emailing wants to receive your email.
Learn more about best practices for sending bulk emails through Gmail.