Question:
Johnson's mobile has a Gmail app and the arrival time of an email $T$ has following density: $$T \sim \lambda e^{-\lambda t}$$
When an email arrives in time t, Johnson's mobile email software will elicit a beep:
$$b_{t}= \begin{cases} 1 & \text{with probability $z$}\\ 0 & \text{with probaility $1-z$} \end{cases}$$
Otherwise, if there is no email, $b_{t}=0$ always holds.
It will take time $t^{*}$ for Johnson to wait for the email arrival, Johnson will stop waiting in following two situations.
Situation 1: If $b_{t}=1$, Johson will stop waiting.
$$t_{1}=\min\{t:b_{t}=1\}$$
Situation 2: If $b_{s}=0,s \leq t$, Johnson will form belief in time t: $$P(\text{The email has arrived before time t}|b_{s}=0,s\leq t)$$ When $P(\text{The email has arrived before time t}|b_{s}=0,s \leq t)=p$, Johnson will also stop waiting.
$$t_{0}=min\{t:P(\text{The email has arrived before time t}|b_{s}=0,s\leq t)=p\}$$
Thus we can define: $$t^{*}=\min\{t_{1},t_{0}\}$$
The question is: What is Johnson's expected waiting time $E[t^{*}]$?
In order to help to understand above question, I show the extreme cases of above question:
When $z=1$, it means that once the email arriving, the mobile always elicit a beep, the expected waiting time is in fact the expected arrival time: $$\frac{1}{\lambda}$$
When $z=0$, it means that the mobile never elicit a beep no matter the email arrives or not, then after time t, you will believe that the email arrival probability is: $$1-e^{-\lambda t}$$
You will check the email when you belief of email arriving equals to p: $$1-e^{-\lambda t^{*}}=p$$ Thus in this situation, the waiting time is degenerate and will be always: $$t^{*}=-\frac{\ln{(1-p)}}{\lambda}$$
It is easy to calculate the expected waiting time in above two extreme situations($z=1$ and $z=0$), but once $z \in (0,1)$, what is the expected waiting time?
The answer by original author is: $$\tilde{t}(z)=\frac{1-(1-p)^{\frac{z}{1-z}}}{\lambda z}$$
It is easy to check that: $$\tilde{t}(1)=\frac{1}{\lambda}$$ $$\lim_{z \to 0}\tilde{t}(z)=-\frac{\ln(1-p)}{\lambda}$$ The boundary condition holds