takes in email and continuously checks until opening