Text this: Optimal Contracts for Agents with Adverse Selection