How to get rid of email bomb iPhone?

Hello experts,
How to get rid of email bomb iPhone? My iPhone was internet connected since I bought a router last week, and yesterday while surfing in the internet I got an email from an unknown person. When I opened the email content it is an email bomb and overflows on my Inbox. They are sending big volume files or a spam, can you give a solution on how to detect or get rid of those?
Thank you.
