What is your take on using the database to send mail versus having another layer of the application send the mail?

Will it affect database performance? Does it depend on the frequency of mail being sent?

Thanks for any input