Frustreret embedsmand lagde sms-slagplan for fyring af topchef