What happens if you die before making confession?

I see that question has been asked before, but the question seems to have been taken out of the context in which I am asking. For example, if you committed a sin, e.g., having feelings of envy or any other mortal sin, and you have every intention of confessiong, but die, e.g., in a car accident, before getting to the Church to make your confession, do you still go to hell? Do we have an opportunity after death to ask for and receive forgiveness if that was our true intention before dying?

These links should be helpful for understanding and explaining Confession. If you have any further questions or concerns that are not answered by these links, please contact Catholic Answers directly.
Recommended Reading:

]Confession* by the Early Church Fathers**
]Forgiveness of Sins
]The Fathers Know Best: Confessing to a Priest
]A Confession to Make
by Tim Staples
]God Is too Hot to Handle: Protestant Misconceptions about Confession by Jason Shanks
] Is Confession not necessary?


DISCLAIMER: The views and opinions expressed in these forums do not necessarily reflect those of Catholic Answers. For official apologetics resources please visit www.catholic.com.