We got used to the fact that javascript cannot be used in emails, which is why they tend to be very static. Google suggested making a letter in the new AMP4Email format that supports Google's Javascript components. The number of components is
not big yet, but it already allows the addition of animations, image carousels, and forms to emails.