get_all_mailboxes(l)

Package :
mail
Type :
procedure

Utility to get all the mailboxes from a list of Addresses, which will contain either Mailboxes or Groups.

Source