Get queue items for mail message and process each mail

Thanks for the reply,

How can I use it in get queue items in get transcation data