A lawmaker in California has proposed legislation that would give workers the right to ignore routine job messages outside of…