A warm welcome to Mac-Forums, OphelieBras.
As our Admin said...........
How about starting: I was working on my Mac (model, year and Operating System) when after a couple of hours, I closed (what? - Mail?, something else? or shut down the Mac?).
After another couple of hours I opened (what?) - an unexpected error prevented access to this "file" (what file? Mail doesn't have files).
You know everything about your situation, we have a few crumbs to work with. Have patience with us and tell all; and we will do our utmost to help you.
Look forward to your further post.
Ian