Apple mail columns

I’m trying to custom configure the message viewer

		tell application "Mail"
			try
				activate
				set selected mailboxes of message viewer 1 to {mailbox mailBoxName of mailbox catName}
				set bounds of window 1 to OdbMailboxWindowBounds
				# tell message viewer 1

				set visible of {attachments column, date received column, date sent column, from column, mailbox column, subject column, to column} to true
end tell
end try
end tell

Is there some deep error here?

I’m not sure why it’s happening, but if you go to the popup for message viewers where it says by name and change it to by index or by id, the properties should be displayed correctly.