I need to evaluate this integral: $$ I(t,a) = \int_{-\infty}^{t} e^{-(\tau+a)^2} \mathrm{erf}(\tau) \ \mathrm{d}\tau $$ where the $\mathrm{erf}(\tau)$ is the error function.
I can prove that this integral converges. By employing the python library
import numpy as np
from scipy.special import erf
import matplotlib.pyplot as plt
dtau = 0.01;p=[]
trange = np.arange(-20,20,0.1)
for t in trange:
tau = np.arange(-20,t,dtau)
I = np.exp(-(tau+a)**2)* erf(tau)
p.append(np.trapz(I,tau))
p=np.array(p)
plt.plot(trange,p);plt.show();
I got three graphs for different $a$

therefor one can speculate the behavior of the integral for $|a|\ll1$ is as a Bi-gaussian function and for $|a|\gg1$ is as an $\mathrm{erf}(t)$ function. therefore the answer is something like this $$ I(t,a) \sim \alpha(a) \ \mathrm{erf}(t+a) + \beta(a) \ e^{-(t\pm a)^2} $$
I would highly appreciate it if someone could help me to solve it.
Edit:
if $t \rightarrow \infty$, the $I(\infty, a)$ is given by $$ I(t \rightarrow \infty,a) = \sqrt{\pi} \ \mathrm{erf} \Big(\dfrac{a}{\sqrt{2}} \Big) $$ this might be helpful.
If $a$ is small, we could expand the exponential as a Taylor series $$e^{-(\tau+a)^2} =e^{-\tau^2}\sum_{n=0}^p f_n(\tau)\,a^n$$ where the first coefficients are $$\left\{1,-2 \tau ,-1+2 \tau ^2,2 \tau -\frac{4 }{3}\tau ^3,\frac{1}{2}-2 \tau ^2+\frac{2 }{3}\tau ^4,-\tau +\frac{4 }{3}\tau ^3-\frac{4 }{15}\tau ^5,\cdots\right\}$$ and face a bunch of integrals $$I_n=\int_{-\infty}^t e^{-\tau ^2} \text{erf}(\tau ) \tau^n\,d\tau$$ which do not present much difficulties.
The first ones are $$I_0=\frac{1}{4} \sqrt{\pi } \left(\text{erf}(t)^2-1\right)$$ $$I_1=\frac{1}{4} \left(\sqrt{2} \left(\text{erf}\left(\sqrt{2} t\right)+1\right)-2 e^{-t^2} \text{erf}(t)\right)$$ $$I_2=\frac{1}{8} \left(-4 e^{-t^2} t \text{erf}(t)+\sqrt{\pi } \left(\text{erf}(t)^2-1\right)-\frac{2 e^{-2 t^2}}{\sqrt{\pi }}\right)$$ $$I_3=\frac{1}{16} \left(-8 e^{-t^2} \left(t^2+1\right) \text{erf}(t)+5 \sqrt{2} \left(\text{erf}\left(\sqrt{2} t\right)+1\right)-\frac{4 e^{-2 t^2} t}{\sqrt{\pi }}\right)$$
Limited to first order, this would give $$\frac{\sqrt{\pi }}{4} \left(\text{erf}(t)^2-1\right)+a \left(e^{-t^2} \text{erf}(t)+\frac{\text{erfc}\left(\sqrt{2} t\right)-2}{\sqrt{2}}\right)+O\left(a^2\right)$$ which perfectly matches your plot for $a=0.2$.