Skip to content

Non English(US) Gmail accounts

Alex edited this page Dec 4, 2018 · 6 revisions

Vmail needs to know your Gmail account mailbox names for certain operations. If you have a non English Gmail account, you need to define a mailbox_aliases setting in your .vmailrc. For example if your Gmail account was German, you would need to add the following to your .vmailrc:

mailbox_aliases:
  all: ['Alle Nachrichten']
  drafts: [Entwürfe]
  sent: [Gesendet]
  starred: [Markiert]
  trash: [Papierkorb]
  important: [Wichtig]

As of now Vmail needs atleast the sent and trash aliases to correctly point to the name of the respective Gmail mailboxes. The rest can be skipped.

Note: Mailbox names are case sensitive.

How do I find the aliases for my Gmail account?

You need to tail the vmail.log file while starting up vmail. Look for a line like the following:

D, [2016-01-03T12:05:02.956451 #21048] DEBUG -- : [INBOX POLLER]: Loaded mailboxes: ["INBOX", "Payslips", "Personal", "Receipts", "Travel", "Work", "[Gmail]/All Mail", "[Gmail]/Bin", "[Gmail]/Drafts", "[Gmail]/Important", "[Gmail]/Sent Mail", "[Gmail]/Spam", "[Gmail]/Starred"].inspect

The names prefixed by [Gmail]/ are the Gmail aliases for your account.