// BY *ANY* HANDLER, WHEN WE *ALREADY HAVE* THE KEY TO THE MESSAGE?!??!
// I'VE INTRODUCED A HACK HERE, TO ACCOUNT FOR CASES IN WHICH WE'RE TRYING
// TO VIEW A MESSAGE DETAILS, BUT WE HAVEN'T COME FROM THE EMAIL LIST SCREEN.
if (displaylistSession != null && (displaylistSession.getListType()).equals("Email"))
{
Set listkey = displaylistSession.keySet();
Iterator it = listkey.iterator();
while (it.hasNext())
{
index++;