I think you will find that apps like Thunderbird contain support for the security being used by Gmail (I sense that during the initial authentication a token is applied by Gmail to the application and look subsequent authentications the token is exchanged) and calibre does not contain special support.
|