Make sure the inbox link uses https (even though you'll probably get redirected regardless...
Remove references to lastChecked variable
Remove notifications for messages that have been read