Implement alarm with email action serialisation.