Edge seal under trim

Anyone sealed up their wood and aluminum edges with epoxy or other before installing trim? I had this aluminum tape laying around and thought I would use it on all my seams first, maybe as a final water barrier if it ever gets past the trim and silicone. It will be hid under the trim. I also thought about a thin coat of epoxy as an alternative.
