imap.delete() is better(faster) here as it doesn't return the removed value