Hi @jmb
I don’t think you need to use a widget. Instead, why not create a custom page template that uses a custom form. This form could allow someone to ‘login’ with an email address.
Then, you could use the $_POST data to search the DB for a matching post, etc.
Good luck
Thanks
E