#!/bin/bash # List mailboxes for an account # Usage: mail-mailboxes.sh [account] ACCOUNT="${1:-}" if [ -n "$ACCOUNT" ]; then osascript <