What Gmail encrypts on its own
Gmail encrypts mail in transit when the other server supports it, and Google Workspace customers on certain plans can turn on S/MIME or client-side encryption, which needs setup on both sides. For a personal Gmail account the practical choices are confidential mode and a protected file. Neither removes the attachment from the mailbox: confidential mode holds it until the expiry you set, and a protected file stays as long as the message does.