@gmail.com UseIMAPS yes CertificateFile ~/Backup/gmail/gmail.pem CertificateFile ~/Backup/gmail/thawte.pem Channel backup Master ":gmail:[Gmail]/All Mail" Slave :local:gmail Create Slave Expunge Slave Sync Pull Save your gmail password in Keychain . The simplest way to do this is to login to your gmail account and have Safari remember the password. Give security permission to access