The bank has apologised after mistakenly sending automated redundancy-related emails to employees before formally communicating the news.