Please use 'do' and 'end' here, since it is a multiline block. And make sure the 'end' aligns with the line with the 'do'. (Same goes for the other email methon starting on line 24)