Respuesta :

Futere perfect = Sub + shall / will + have + v³ + object

I had written the email before apologising ..

= I shall have written the email before apologising.....