We apply molecular design principles to develop new sensing mechanisms for the low-cost and rapid detection of environmental pollutants.