account1 = { connect = function () account1.account = IMAP(account1.credentials) account1.inbox = account1.account['INBOX'] return account1.account end, age_table = { { folder = 'INBOX', age = 365 }, { folder = 'Deleted Items', age = 10 }, { folder = 'Corbeille', age = 10 }, { folder = 'Sent', age = 365 }, }, }