How strange.
I'm assuming you're using Thunderbird & Firefox.
Haven't got a clue what Thunderbid is but I'm using Chrome on my PC and Safari or Chrome on my iPhone, but this issues as you say comes & goes of its own accord without me actually doing anything to try and rectify it!