Report spam and unsubscribe from spam
After logging in to Gmail, select all the spam emails you want to unsubscribe from.
After that, click on the “i” icon given at the top, after which you will see the option to report spam or report spam and unsubscribe.
Here, check the selected email id again and then select the Report as Spam and Unsubscribe option. You will no longer receive emails from these accounts once you have activated it.
Apply filters to detect spam
Open your Gmail account and click on the search box at the top. Here, type unsubscribe to list all promotional emails.
Select all spam, but do not contain emails or newsletters that are useful to you.
Now click on the three dots above and select Filter messages like these.
Now click on Create Filter option and choose what you want to do with these spams. For example, if you want these emails to be automatically deleted, you can click Create Filter and select the Delete option.
You will now get a pop-up informing you that the filter has been created. In addition to deletion, you can also label these emails.
Use a temporary email id
When you share your Gmail ID on different sites, this ID is transmitted to many third parties. In such a situation, your risk of receiving many types of spam emails increases. Sometimes these spam emails seem quite valid and you can get caught up in a phishing attack.
In such a situation, instead of giving your primary Gmail ID, you can give a temporary ID.
Websites like temp-mail.org provide you with a free temporary ID. You can use a temporary ID from any such site.
This is how you can keep your primary Gmail account safe and spam-free.