Letrozole before HSG ?

Has anybody taken Letrozole to ovulate before getting your tubes checked ? Is it safe to take Letrozole before HSG ?