How is the “e” pronounced in kanas like “re”?

Can it be pronounced both like the "a" in the word "ray" and like the "e" in "education", or is it just one or the other. I think I've heard it both ways but not sure what's correct

by Sufficient-Dream7336