>I wonder if this is possible (and how) if you create the template using ASP.NET? How difficult would it be to have the feature of taking a picture and storing it (say, in a database or email)?
It is not recommended to store image of file, as is, in the database. I always save them in a relational approach on the disk or by preserving the file name as is, which then assume that you store the file name in the table.
As far as email, you can include an embedded image in an email, if this is HTML, or establish a link to a server, if you wish the file to remain on the server. Or, you can add it as attachment and it will be done automatically.