Thunderbird responds to Applescript but can't see dictionary

I can send a message to Thunderbird and get name of front window, but can’t open dictionary in Script Editor. Is it scriptable? Would I be able to get name of front window if there is no dictionary?