Text this: Emergencies and the limits of legality