The following will help you to read the mails during 1 second, delete the mail and move on to the next one. If all mails have been deleted loop will stop.
Want some more time? Change sleep to 2 or more. Want it faster? Replace sleep 1 by a dummy command.
while (echo dq |mail) do sleep 1 ;done