Every new Google email account comes with 15GB of free storage ... Then click "See all settings." Select the Forwarding POP/IMAP tab. Then select the option "Enable POP for all mail." ...
Follow the installation guide in the n8n community nodes documentation. Use n8n-nodes-imap in N8N settings to install the stable version. To install beta version, use n8n-nodes-imap@beta.