Editing/Deleting without authentication

I need to build a website that does not require an account, but you are still able to post.

Every time you post, you will be asked to input your email.

You will receive an email with a URL that allows you to edit/delete your post. Only by accessing the URL from the email you will be able to modify the post.

How would you implement that? I was thinking of creating an editID for each post and attaching that editID as a get param to the URL.

When the user goes to the URL, I grab the post that belongs to that editID.

On the backend, editing/deleting is allowed only if the editID is send by the frontend.

What do you think / do you guys have any other ideas of implementing this?

Thank you!