> I would like to understand a bit better what happens when the user removes a > google account. My previous understanding is that synchronization of contacts > would stop working, but the contacts that were imported from the google > account would remain. Is it correct, or are they removed as well? > And if the latter, would the contact reappear automatically, if/when the > account is re-added again? The contacts and any data synced from this account will be removed. > > Then, about messages: what messages are we talking about? Are we planning to > integrate with Google XMPP chat? We are implementing a new framework called "messaging-framework" this framework will run as a telepathy plugin but with Canonical API (we will have some kind o glue code to integrate it with telepathy). Since telepathy is integrated with our history service, all messages will be stored on a system-wide log file. The messages related with this account will be removed as well. > > And last: ordinary (confined) applications cannot distinguish whether an > account has been removed or just disabled: they just see it disappear. It > looks like you want to treat these two events differently -- I guess you may, > since your processes run unconfined. However, I think this would be > inconsistent with how the rest of the applications work, and ultimately cause > more confusion to the user. Yes we do not have control over third party applications. We can not guarantee that the data will be removed. We can not say in the message that all data will be removed. > > > I would propose a different approach: when an account is deleted or disabled, > just stop synchronising contacts and messages, but keep them there. Then, next > time the user opens the Contacts or Messages application (or maybe when the > user performs a certain action inside these applications, for example clicking > the "sync" icon or opening a conversation with an account which no longer > exists), popup a dialog with something like: > > You have removed Contacts access to the account