Shared code for Trello syncing