Dehydrogenase that catalyzes the oxidation of several aminoaldehydes (PubMed:27725774, PubMed:32845293). Metabolizes and detoxifies aldehyde products of polyamine degradation to non-toxic amino acids (Probable). Catalyzes the oxidation of 4-aminobutanal and 3-aminopropanal to 4-aminobutanoate and beta-alanine, respectively (PubMed:27725774, PubMed:32845293). Production of 4-aminobutinoate by ALDH10A8 may confer tolerance to salt stress (PubMed:27725774). Catalyzes the oxidation of 4-(trimethylamino)butanal and 4-guanidinobutanal to 4-trimethylammoniobutanoate and 4-guanidinobutanoate, respectively (PubMed:32845293). Involved in glycine betaine biosynthesis (PubMed:26169197, PubMed:27725774, PubMed:32845293). Catalyzes with low efficiency the oxidation of betaine aldehyde to glycine betaine (PubMed:27725774, PubMed:32845293). 4-aminobutanal + H2O + NAD(+) = 4-aminobutanoate + 2 H(+) + NADH 3-aminopropanal + H2O + NAD(+) = beta-alanine + 2 H(+) + NADH 4-(trimethylamino)butanal + H2O + NAD(+) = 4-(trimethylamino)butanoate + 2 H(+) + NADH 4-guanidinobutanal + H2O + NAD(+) = 4-guanidinobutanoate + 2 H(+) + NADH betaine aldehyde + H2O + NAD(+) = glycine betaine + 2 H(+) + NADH Optimum pH is 10.75 with 4-aminobutanal as substrate. Optimum pH is 10.5 with 3-aminopropanal as substrate. Amine and polyamine biosynthesis; betaine biosynthesis via choline pathway; betaine from betaine aldehyde: step 1/1. Homodimer. Localizes in small organelles that may be leucoplasts. A number of isoforms are produced. According to EST sequences. Widely expressed. No visible phenotype under normal growth conditions (PubMed:21053011, PubMed:27725774). Mutant seedlings exhibit increased sensitivity to salt stress (PubMed:21053011, PubMed:27725774). Mutant seedling exhibit increased sensitivity to drought stress (PubMed:21053011). Belongs to the aldehyde dehydrogenase family.