Eighteen branches in Contra Costa and Alameda counties are being considered for consolidation by the United States Postal Service as part of a nationwide cost-cutting measure.