Checking if the attribute is set for email confirmation button

Fixes #109