Getting SMTP Email profiles for a drop down?

I have a email window that has a dropdown that lets the user select who is sending an email. Previously, all our email credential info was in the databse. Now, we have moved it to the SMTP Email Profile part of our gateway. Is there a way to populate my dropdown directly from our SMTP profiles? Or will I need a db table that lines up with what I have?

That would be a really useful scripting function. You might want to suggest it at