tested with current Thunderbird trunk