use the new messages endpoint