Preheat the oven to 350ºF. Spray an 8x8 baking dish with cooking spray.
In a large bowl, whisk the eggs until they are broken up.
Add the milk and crushed crackers. Mix well.
Add the drained corn, melted butter, salt, pepper, sugar and minced onion. Stir well.
Pour the mixture into the prepared pan.
Bake for 40 minutes or until the center of the casserole is set.
Serve warm.
Store leftovers in an airtight container in the fridge for up to 3 days.
