mail: use real booleans rather than quoted

Use real true/false booleans for conditionals instead of strings that
contain "true" and "false".

RT: 7645
Change-Id: I5fa0cd42486c5067be46ebba16842a04dde0d393