I have a script that loads Customers/Addresses into Magento, but sometimes it fails. I would like to pick up were I left of (I am transforming data from one DB to Magento). What is a cheap way to get the last inserted customers email?
SELECT email FROM customer_entity ORDER BY entity_id DESC LIMIT 1;
Is that a safe/sane way to do this?