Welcome to your mailbox.
This is a demo of the micro-library Swap.js.
Once the library has been imported, everything is done with HTML attributes and no JavaScript has been needed, except for the custom timer when you read an email.
Check my other projects on my blog A Few Thingz and Github.