An Post warned it could cut hundreds of jobs