Email (record): A robust model of sensory tuning using dendritic non-linearities