Hi Peter,
Congrats on your startup.
Gmail's IMAP implementation is a little misleading due to the way Gmail
works. In Gmail, everything resides in the archive, and other folders
are virtual - messages are tagged, and the folder is a saved search of
all messages with that tag.
As a result, when you remove a message from the IMAP folder, it just
removes the tag in Gmail.
To be on the safe side, instead using Thunderbird to purge those
messages from the archive, I would use the Gmail website to do that
after moving them to Thunderbird.
--
Mailing list/Newsgroup moderator